Unity Script Reference - MonoBehavior 1

Unity3D 2012. 6. 21. 14:41
반응형

http://unity3d.com/support/documentation/ScriptReference/MonoBehaviour.html


MonoBehaviour Inherits from Behaviour  

MonoBehaviour is the base class every script derives from.

Using Javascript every script automatically derives from MonoBehaviour. When using C# or Boo you have to explicitly derive from MonoBehaviour.

Note: The checkbox for disabling a MonoBehavior (on the editor) will only prevent Start(), Awake(), Update(), FixedUpdate(), and OnGUI() from executing. If none of these functions are present, the checkbox is not displayed.

See Also: The chapter on scripting in the manual.



모든 유니티 클래스들의 베이스 클래스입니다..

자바스크립트는 자동으로 이용되고 C#이나 Boo는 명시적으로 상속 받아 써야 합니다.



반응형
: