MonoBehaviour

MonoBehaviour is the base class for every Unity script that attaches to a GameObject. When you create a new C# script in Unity, it automatically inherits from MonoBehaviour, which gives it access to the component system, coroutines, and all the lifecycle callback methods like Start and Update.

More in Core Scripting

  1. MonoBehaviour
  2. Lifecycle Methods
  3. GameObjects
  4. Components
  5. Transform
  6. Coroutines
  7. Instantiate & Destroy
  8. Serialization
  9. Time
  10. Invoke & InvokeRepeating

All 157 topics in the Learn Unity Roadmap