Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnEnable()

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

Definition

public virtual void OnEnable()

Remarks

Use this method to perform initialization logic.