유니티62 유니티 GitHub 기본 연동방법 https://github.com/ GitHub · Build and ship software on a single, collaborative platformJoin the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity.github.com https://desktop.github.com/download/ Download GitHub DesktopSimple collaboration from your desktopdesktop.github... 2025. 1. 10. 유니티 MonoBehaviour ▣ MonoBehaviour란? MonoBehaviour는 Unity의 모든 스크립트가 기본적으로 상속받는 클래스입니다. Unity 엔진과 스크립트를 연결하는 역할을 하며, 게임 오브젝트에 스크립트를 부착하고 다양한 이벤트 메서드를 사용할 수 있게 합니다. ▣ MonoBehaviour를 사용하는 이유 Unity의 게임 오브젝트와 상호작용하기 위해 필요. Unity의 라이프사이클 이벤트(Start, Update 등)를 활용 가능. 스크립트를 통해 씬에 존재하는 오브젝트를 제어할 수 있음. ▣ 주요 이벤트 메서드 MonoBehaviour를 상속하면 Unity의 특정 이벤트에서 자동으로 호출되는 메서드를 사용할 수 있습니다. 초기화 관련 Awake(): 스크립트가 활성화될 때 호출. 오브젝트의 초기화에 적.. 2025. 1. 10. 이전 1 다음