Ejemplo n.º 1
0
 public virtual void Setup()
 {
     // setup the parent state first
     if (_parentState != null && !_parentState.isSetup)
     {
         _parentState.Setup();
     }
     SetId();
     _stateMachine?.RegisterAIState(this);
 }