Documentation

Unity Engine

Unity Engine

OnEnable()

Called when the state is created or when the state machine is enabled.
Read time 1 minuteLast updated 2 months ago

Definition

public virtual void OnEnable()

Remarks

Use this method to perform initialization logic.