Exemplo n.º 1
0
 protected void InitAI()
 {
     //TODO;
     m_ActorPathFinding = new AIPathFinding(this);
     m_ActorAI          = new ActorFsmAI(this, AIModeType.Hand, 10f, 10f, 10f, 0.2f);
     m_ActorAI.Start();
 }
Exemplo n.º 2
0
        protected virtual void InitAi()
        {
            m_ActorPathFinding = new AIPathFinding(this);
            float atkDist           = m_ActorData.AiAtkDist;
            float followDist        = m_ActorData.AiFollowDist;
            float waringDist        = m_ActorData.AiWaringDist;
            float findEnemyInterval = m_ActorData.FindEnemyInterval;

            m_ActorAI = new ActorFsmAI(this, AIModeType.Auto, atkDist, followDist, waringDist, findEnemyInterval);
            m_ActorAI.Start();
        }