Exemple #1
0
 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();
				}
			}
		}
Exemple #3
0
        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);
        }
Exemple #4
0
        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");
		}