예제 #1
0
    public void UpdateOverviewWorld()
    {
        GameWorld gameWorld = GameWorlds.Current;

        if (gameWorld == null)
        {
            return;
        }

        foreach (GameObjectInactive obj in containerOverview.GetList <GameObjectInactive>())
        {
            if (obj.type == BaseDataObjectKeys.overview &&
                obj.code == BaseDataObjectKeys.world)
            {
                foreach (GameObjectInactive world in containerOverview.GetList <GameObjectInactive>())
                {
                    if (world.type == BaseDataObjectKeys.world)
                    {
                        TweenUtil.HideObjectBottom(world.gameObject);
                    }
                }

                foreach (GameObjectInactive world in containerOverview.GetList <GameObjectInactive>())
                {
                    if (world.code.IsEqualLowercase(gameWorld.code))
                    {
                        TweenUtil.ShowObjectBottom(world.gameObject);
                    }
                }
            }
        }
    }
예제 #2
0
 public virtual void HideAllShares()
 {
     foreach (GameObjectShowItem item in
              containerShares.GetComponentsInChildren <GameObjectShowItem>(true))
     {
         TweenUtil.HideObjectBottom(item.gameObject);
         item.gameObject.HideObjectDelayed(.5f);
     }
 }
    public virtual void HideAllButtons()
    {
        if (containerButtons == null)
        {
            return;
        }

        foreach (GameObjectShowItem item in
                 containerButtons.GetComponentsInChildren <GameObjectShowItem>(true))
        {
            TweenUtil.HideObjectBottom(item.gameObject);
            item.gameObject.HideObjectDelayed(.5f);
        }
    }
예제 #4
0
 public virtual void hideUI()
 {
     TweenUtil.HideObjectBottom(backgroundUI, TweenCoord.local, true);
     //Debug.Log("GameUIPanelBackgrounds::HideUI");
 }
 public virtual void HideOverlayBlack(float time, float delay)
 {
     TweenUtil.HideObjectBottom(overlayBlackSolid, TweenCoord.local, true, time, delay);
 }
 public virtual void HideOverlayWhiteRadial(float time, float delay)
 {
     TweenUtil.HideObjectBottom(overlayWhiteRadial, TweenCoord.local, true, time, delay);
 }
 public virtual void HideOverlayWhiteStatic(float time, float delay)
 {
     TweenUtil.HideObjectBottom(overlayWhiteSolidStatic, TweenCoord.local, true, time, delay);
 }
예제 #8
0
 public virtual void hideActionTools()
 {
     TweenUtil.HideObjectBottom(containerActionTools);
 }
예제 #9
0
 public virtual void AnimateOutBottom(GameObject go, float time = .3f, float delay = 0f, bool fade = true)
 {
     TweenUtil.HideObjectBottom(go, TweenCoord.local, fade, time, delay);
 }
예제 #10
0
 public virtual void HideButtons()
 {
     TweenUtil.HideObjectBottom(containerButtons);
 }
예제 #11
0
 public virtual void HideSelect()
 {
     TweenUtil.HideObjectBottom(containerMissions);
 }
예제 #12
0
 public virtual void HideWorldsContainer()
 {
     TweenUtil.HideObjectBottom(containerWorlds);
     containerWorlds.HideObjectDelayed(.5f);
 }