コード例 #1
0
 void TransitionCompleted()
 {
     if (sourceViewDismiss)
     {
         sourceView.ViewDisappeared();
     }
     //if (sourceViewDismiss) sourceView.viewContent.localPosition = Vector3.zero;
     if (targetViewAppear)
     {
         targetView.ViewAppeared();
     }
 }
コード例 #2
0
 void TransitionCompleted()
 {
     if (sourceViewDismiss)
     {
         sourceView.ViewDisappeared();
     }
     if (sourceViewDismiss)
     {
         sourceView.viewContent.localPosition = new Vector3(0, sourceView.viewContent.localPosition.y, 0);
     }
     if (targetViewAppear)
     {
         targetView.ViewAppeared();
     }
 }
コード例 #3
0
ファイル: UIStoryboard.cs プロジェクト: brostoyevski/wear
        void Start()
        {
            //initial view presentation and hiding other view
            foreach (UIView view in Views)
            {
                view.ViewWillDissappear();
                view.SetVisible(false);
                view.ViewDisappeared();
            }

            initialView.ViewWillAppear();
            initialView.SetVisible(true);
            initialView.ViewAppeared();

            StartCoroutine(RefreshEventSystem());
        }