본문 바로가기

유니티코딩4

09_ObjectClass_생성과 파괴 https://youtu.be/VbmTeNFwSpI - YouTube www.youtube.com 오브젝트 클래스 테스트 영상 https://docs.unity3d.com/2020.3/Documentation/ScriptReference/Object.html Unity - Scripting API: Object Success! Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable. Close docs.uni.. 2022. 5. 14.
07_Transform 클래스 알아보기 void Start() { transform.position = new Vector3(10, 10, 10); // 시작지점을 정해준것 10,10,10 위치에서 태어난다 transform.rotation = Quaternion.Euler(30, 60, 90); //Quaternion-> 행렬로 각을 나타냄 transform.localScale = new Vector3(10, 10, 10); // 스케일값(스케일값은 항상 부모 값 밖에없음) } 1. transform.position 2.transform.rotation 3.transformlocalScale 로컬 좌표계의 값을 기본으로 한다. 물체를 앞으로 전진 시키거나 계속 회전하고 싶을 경우 void Update() { transform.Translat.. 2022. 5. 12.
06_유니티에서 스크립트와 API 코딩을 할때 주로 찾아보게 될 유니티 사이트 docs.unity3d.com Unity - Manual: Unity User Manual 2021.3 (LTS) Use the Unity Editor to create 2D and 3D games, apps and experiences. Download the Editor at unity3d.com. The Unity User Manual helps you learn how to use the Unity Editor and its associated services. You can read it from start to finish, or use it as a re docs.unity3d.com 유니티 메뉴얼에서 자신의 버전과 맞는 버전에 메뉴얼을 참고하기 .. 2022. 5. 11.
LIST