private void GoToNextBehaviour() { currentBehaviour.Reset(); currentBehaviourIndex = (currentBehaviourIndex + 1) % totalbehaviours; currentBehaviour = behaviourLoop[currentBehaviourIndex]; CheckBehaviourSkips(); currentBehaviour.StartBehaviour(); }