Awake

The Awake method is a Unity lifecycle method that is called when the script instance is being loaded. It's the first method called in the MonoBehaviour lifecycle and is ideal for initialization that doesn't depend on other objects.

More in Unity API

  1. Components
    1. GetComponent<>()
  2. Serialized Field
  3. Inspector
  4. Debugging
    1. debug.log
  5. MonoBehaviour
    1. Awake
    2. Start
    3. Update
    4. OnEnable
    5. FixedUpdate

All 48 topics in the Fundamentals Program