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()); } }
public virtual void ShowContinue() { Status = UIAnimStatus.IsAnimationShow; InitRebornData(); anim.Show(() => { animContinue.Show(null, () => StartCoroutine(DORebornCountDown()), null); }); }
public void ShowAnimation(LuaFunction func) { if (showCallBack != null && showCallBack != func) { showCallBack.Dispose(); } showCallBack = func; if (uiAnimation != null) { uiAnimation.Show(); } }
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(); } }
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); } }
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); }
public void Show() { anim.Show(); }
void Start() { uiAnimation.Show(); }
public void ShowBackgroundBlocker() { backgroundBlockerAnimation.Activate(); backgroundBlockerAnimation.Show(); }
public void ShowLoadingIndicator() { backgroundBlockerAnimation?.Show(); loadingIndicator.gameObject.SetActive(true); }
public void Show(TweenCallback onStart = null, TweenCallback onCompleted = null) { InitView(); anim.Show(onStart, onCompleted); }