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(); } } }
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); }