コード例 #1
0
 public virtual void ShowResult()
 {
     UIToast.ShowLoading("", 1);
     InitResultData();
     Status = UIAnimStatus.IsAnimationShow;
     if (anim.Status != UIAnimStatus.IsShow)
     {
         anim.Show(() => {
             animResult.Show(null, () => OnShowResult());
         });
     }
     else
     {
         animResult.Show(null, () => OnShowResult());
     }
 }
コード例 #2
0
 public virtual void ShowContinue()
 {
     Status = UIAnimStatus.IsAnimationShow;
     InitRebornData();
     anim.Show(() =>
     {
         animContinue.Show(null, () => StartCoroutine(DORebornCountDown()), null);
     });
 }
コード例 #3
0
 public void ShowAnimation(LuaFunction func)
 {
     if (showCallBack != null && showCallBack != func)
     {
         showCallBack.Dispose();
     }
     showCallBack = func;
     if (uiAnimation != null)
     {
         uiAnimation.Show();
     }
 }
コード例 #4
0
 public override void OnInspectorGUI()
 {
     base.OnInspectorGUI();
     if (Application.isPlaying)
     {
         EditorGUILayout.BeginHorizontal();
         EditorHelper.DrawButton(true, STATE_SHOW, () =>
         {
             UIAnimation.Show();
         });
         EditorHelper.DrawButton(true, STATE_HIDE, () =>
         {
             UIAnimation.Hide();
         });
         EditorGUILayout.EndHorizontal();
     }
 }
コード例 #5
0
ファイル: CinemaBar.cs プロジェクト: devolfer/tennis-game-3d
 private void Show(bool show, bool useBlurBackground)
 {
     if (panelAnimation)
     {
         panelAnimation.Show(show);
     }
     if (blurBackgroundAnimation && useBlurBackground)
     {
         blurBackgroundAnimation.Show(show);
     }
     if (topAnimation)
     {
         topAnimation.Show(show);
     }
     if (bottomAnimation)
     {
         bottomAnimation.Show(show);
     }
 }
コード例 #6
0
    private void ShowContent(bool show, bool animated)
    {
        if (animated)
        {
            if (titleAnimation)
            {
                titleAnimation.Show(show);
            }
            if (contentAnimation)
            {
                contentAnimation.Show(show);
            }
        }
        else
        {
            title.SetActive(show);
            content.SetActive(show);
        }

        restartButton.Show(show, animated);
        quitButton.Show(show, animated);
        // resultsPanel.SetActive(show);
    }
コード例 #7
0
 public void Show()
 {
     anim.Show();
 }
コード例 #8
0
 void Start()
 {
     uiAnimation.Show();
 }
コード例 #9
0
 public void ShowBackgroundBlocker()
 {
     backgroundBlockerAnimation.Activate();
     backgroundBlockerAnimation.Show();
 }
コード例 #10
0
 public void ShowLoadingIndicator()
 {
     backgroundBlockerAnimation?.Show();
     loadingIndicator.gameObject.SetActive(true);
 }
コード例 #11
0
 public void Show(TweenCallback onStart = null, TweenCallback onCompleted = null)
 {
     InitView();
     anim.Show(onStart, onCompleted);
 }