예제 #1
0
    private void GoToNextBehaviour()
    {
        currentBehaviour.Reset();
        currentBehaviourIndex = (currentBehaviourIndex + 1) % totalbehaviours;
        currentBehaviour      = behaviourLoop[currentBehaviourIndex];

        CheckBehaviourSkips();

        currentBehaviour.StartBehaviour();
    }