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); } } } } }
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); } }
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); }
public virtual void hideActionTools() { TweenUtil.HideObjectBottom(containerActionTools); }
public virtual void AnimateOutBottom(GameObject go, float time = .3f, float delay = 0f, bool fade = true) { TweenUtil.HideObjectBottom(go, TweenCoord.local, fade, time, delay); }
public virtual void HideButtons() { TweenUtil.HideObjectBottom(containerButtons); }
public virtual void HideSelect() { TweenUtil.HideObjectBottom(containerMissions); }
public virtual void HideWorldsContainer() { TweenUtil.HideObjectBottom(containerWorlds); containerWorlds.HideObjectDelayed(.5f); }