Beispiel #1
0
        //mapSizeは使わない
        public override ActorStateWorld Execute(ActorWorld actor, Vector3 mapSize)
        {
            //Debug.Log("update : StateMove");
            ActorStateWorld next = this;

            if (!actor.IsMoving)
            {
                next = new StateWorldIdle();
            }

            return(next);
        }
 protected virtual void Start()
 {
     IsMoving          = false;
     m_actorStateWorld = new StateWorldIdle();
 }