Exemple #1
0
 public void IntroAnimations()
 {
     dfTweenComponentBase[] componentsInChildren = base.gameObject.GetComponentsInChildren <dfTweenComponentBase>();
     for (int i = 0; i < (int)componentsInChildren.Length; i++)
     {
         dfTweenComponentBase _dfTweenComponentBase = componentsInChildren[i];
         if (_dfTweenComponentBase.TweenName == "FadeIn")
         {
             _dfTweenComponentBase.Play();
         }
     }
 }
Exemple #2
0
 public void OutroAnimations()
 {
     dfTweenComponentBase[] componentsInChildren = base.gameObject.GetComponentsInChildren <dfTweenComponentBase>();
     for (int i = 0; i < (int)componentsInChildren.Length; i++)
     {
         dfTweenComponentBase _dfTweenComponentBase = componentsInChildren[i];
         if (_dfTweenComponentBase.TweenName == "FadeOut")
         {
             _dfTweenComponentBase.Play();
         }
     }
     this.cursorLocker.On = false;
     base.Invoke("Hide", 5f);
 }