public override bool OnMessage(ActorTwo Entity, Telegram telegram) { if (telegram.Msg == (int)message_type.msg_oneMessage) { Debug.Log(Entity.GetType() + " receive " + EntityManager.Instance().GetEntityFromID(telegram.Sender) + " message "); Entity.GetFSM().ChangeState(ActorTwo_StateTwo.Instance()); Debug.Log(Entity.GetType() + " change State to ActorTwo_StateTwo"); return(true); } return(false); }