Exemplo n.º 1
0
        public virtual void Step()
        {
            if (CacheTransform == null || m_ActorFsm == null || m_ActorAI == null || m_ActorPathFinding == null)
            {
                return;
            }

            m_ActorAI.Step();
            m_ActorPathFinding.Step();
            m_AnimController.Step();
        }
Exemplo n.º 2
0
        public virtual void Step()
        {
            if (CachedTransform == null || m_ActorFsm == null || m_ActorAI == null || m_ActorPathFinding == null)
            {
                return;
            }

            m_ActorAI?.Step();
            m_ActorBuff?.Step();
            m_ActorSkill?.Step();
            m_AnimController?.Step();
            m_ActorPathFinding?.Step();
        }