protected virtual void LateUpdate() { if (!PhotonNetwork.isMasterClient && m_IsInitialized) { return; } if (m_BehaviourTree != null) { //do any late updating logic within the behaviour tree m_BehaviourTree.LateUpdateBehaviourTree(); } UpdateAIAnimations(); }