Ejemplo n.º 1
0
 public void PanelAppContentStatesBack()
 {
     TweenUtil.HideObjectRight(contentPanelAppContentState);
     TweenUtil.ShowObjectLeft(contentPanelDefault);
     currentState = UIAppPanelContentState.DEFAULT;
     ////AppViewerUIPanelOverlays.Instance.HidePanelBackButton();
 }
Ejemplo n.º 2
0
    public virtual void ShowBackButtonObject()
    {
        if (backObject != null)
        {
            backerObject.Show();

            TweenUtil.ShowObjectLeft(backObject);

            //UITweenerUtil.MoveTo(backObject,
            //    UITweener.Method.EaseInOut, UITweener.Style.Once, .3f, .3f, Vector3.zero);

            //UITweenerUtil.FadeTo(backObject,
            //    UITweener.Method.EaseInOut, UITweener.Style.Once, 1f, .3f, 1f);

            foreach (Transform t in backObject.transform)
            {
                TweenUtil.FadeToObject(t.gameObject, 1f, 1f);

                //UITweenerUtil.FadeTo(t.gameObject,
                //    UITweener.Method.EaseInOut, UITweener.Style.Once, 1f, .3f, 1f);
            }
        }
    }
Ejemplo n.º 3
0
 public void PanelAppContentStatesDetailBack()
 {
     TweenUtil.HideObjectRight(contentPanelAppContentStateDetail);
     TweenUtil.ShowObjectLeft(contentPanelAppContentState);
     currentState = UIAppPanelContentState.APP_CONTENT_STATE;
 }
Ejemplo n.º 4
0
 public virtual void AnimateInLeft(GameObject go, float time = .5f, float delay = .5f, bool fade = true)
 {
     TweenUtil.ShowObjectLeft(go, TweenCoord.local, fade, time, delay);
 }