예제 #1
0
    // Use this for initialization
    void Start()
    {
        _stateMachine       = new VRI.FSM.StateMachine();
        _stateMachine.State = new NormalState();

        Destroy(gameObject, 5f);
    }
예제 #2
0
 void OnDestroy()
 {
     _stateMachine.Dispose();
     _stateMachine = null;
 }