public void OnCutsceneEnd() { //Perform the action if the option is meant to be performed on cutscene end for (int i = 0; i < usedAnimations.Length; i++) { if (startAtTransition[i] == cutsceneEventAmount) { currentLegacyAnimator = legacyAnimators[i]; currentLegacyAnimationClip = usedAnimations[i]; currentLegacySetting = animOptions[i]; FinishAction(); } } }
public void OnCutsceneEnd() { //Perform the action if the option is meant to be performed on cutscene end for(int i = 0; i < usedAnimations.Length; i++) { if(startAtTransition[i] == cutsceneEventAmount) { currentLegacyAnimator = legacyAnimators[i]; currentLegacyAnimationClip = usedAnimations[i]; currentLegacySetting = animOptions[i]; FinishAction(); } } }
public void OnCutsceneEnterTransition(int transitionNumber) { for (int i = 0; i < usedAnimations.Length; i++) { //If we want to perform this action at this transition, do it if (startAtTransition[i] == transitionNumber) { currentLegacyAnimator = legacyAnimators[i]; currentLegacyAnimationClip = usedAnimations[i]; currentLegacySetting = animOptions[i]; FinishAction(); } } //Debug.Log("We have entered the start of transition # " + transitionNumber); }
public void OnCutsceneStart() { //Perform the action if the option is meant to be performed on cutscene start for (int i = 0; i < usedAnimations.Length; i++) { if (startAtTransition[i] == 0) { currentLegacyAnimator = legacyAnimators[i]; currentLegacyAnimationClip = usedAnimations[i]; currentLegacySetting = animOptions[i]; FinishAction(); } } //Debug.Log("Cutscene start got called here"); }
public void OnCutsceneEnterTransition(int transitionNumber) { for(int i = 0; i < usedAnimations.Length; i++) { //If we want to perform this action at this transition, do it if(startAtTransition[i] == transitionNumber) { currentLegacyAnimator = legacyAnimators[i]; currentLegacyAnimationClip = usedAnimations[i]; currentLegacySetting = animOptions[i]; FinishAction(); } } //Debug.Log("We have entered the start of transition # " + transitionNumber); }
public void OnCutsceneStart() { //Perform the action if the option is meant to be performed on cutscene start for(int i = 0; i < usedAnimations.Length; i++) { if(startAtTransition[i] == 0) { currentLegacyAnimator = legacyAnimators[i]; currentLegacyAnimationClip = usedAnimations[i]; currentLegacySetting = animOptions[i]; FinishAction(); } } //Debug.Log("Cutscene start got called here"); }