Exemple #1
0
    public override void Hide(float duration, bool performTransition = true)
    {
        Cinematron.ducTime(1.0f, duration, iTween.EaseType.easeOutCubic, true);
        base.Hide(duration, performTransition);

        if (windTracker != null)
        {
            windTracker.ignoreTimescale = false;
        }
    }
 public override void Show(float duration, bool performTransition = true)
 {
     Cinematron.ducTime(ducTimeScale, duration, iTween.EaseType.easeOutCubic, true);
     base.Show(duration, performTransition);
 }