Exemple #1
0
    private void Awake()
    {
        mFsm = Fsm <FsmDemo> .Create("FsmTest", this, this, new NormalState(), new TiredState(), new DeadState());

        mFsm.Start <NormalState>();
    }