Ejemplo n.º 1
0
 public override void ResetCanvas()
 {
     foreach (RectTransform trans in rectTransform)
     {
         UICanvasPanel panel = trans.GetComponent <UICanvasPanel> ();
         if (panel != null)
         {
             panel.ResetCanvas();
         }
     }
 }
Ejemplo n.º 2
0
        public override void SlideOut(float duration, SlideTo to, TweenCallback onComplete = null)
        {
            if (isTransitionComplete == false)
            {
                return;
            }

            foreach (RectTransform trans in rectTransform)
            {
                UICanvasPanel panel = trans.GetComponent <UICanvasPanel> ();
                if (panel != null)
                {
                    panel.SlideOut(duration, to, onComplete);
                }
            }
        }