예제 #1
0
 public override void Execute(ActorOne Entity)
 {
     Debug.Log(Entity.GetType() + "::Execute ActorOne_StateOne ");
     Debug.Log(Entity.GetType() + " ChangeState to ActorOne_StateTwo");
     Entity.GetFSM().ChangeState(ActorOne_StateTwo.Instance());
     //base.Execute (Entity);
 }
예제 #2
0
    public static ActorOne_StateTwo Instance()
    {
        if (instance == null)
        {
            instance = new ActorOne_StateTwo();
        }

        return(instance);
    }