예제 #1
0
파일: AI.cs 프로젝트: Absidion/Irkalla
        protected virtual void FixedUpdate()
        {
            if (!PhotonNetwork.isMasterClient && m_IsInitialized)
            {
                return;
            }

            if (!m_IsImmobile && m_BehaviourTree != null)
            {
                //do any physics based node logic within the behaviour tree
                m_BehaviourTree.FixedUpdateBehaviourTree();
            }
        }