아래는 유니티 튜토리얼 링크. (Tutorial 02)
https://youtu.be/Au8oX5pu5u4
- Start() is only called one right when we start playing the game, however, update function is called once a frame.
Start 함수는 게임 플레이 할 때 한 번만 호출된다. update 함수는 한 프레임 당 한 번.
- Write > rb.useGravity = false; and rb.AddForce(0, 200, 500); <
The result is in video down below.
저 명령문들을 쓰면 이런 결과가 나온다.
(I deleted Start() area because I followed the tutorials!)
마찬가지로 저렇게 쓰면 이 영상처럼 된다.
(나는 튜토리얼을 따라했기 때문에 Start 함수 부분을 지워놨다.
- Making another cube. And the result is...
큐브 하나 더 만들어서 보면...
* This is the end of Tutorial 02.
댓글 없음:
댓글 쓰기