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 IEnumerator showUICo() { yield return(new WaitForSeconds(.55f)); TweenUtil.ShowObjectBottom(backgroundUI, TweenCoord.local, true); //Debug.Log("GameUIPanelBackgrounds::ShowUICo"); }
public virtual void showActionTools() { if (Context.Current.isWeb) { return; } TweenUtil.ShowObjectBottom(containerActionTools); }
// public virtual void ShowShare(string code) { foreach (GameObjectShowItem item in containerShares.GetComponentsInChildren <GameObjectShowItem>(true)) { if (item.code == code) { HideAllShares(); TweenUtil.ShowObjectBottom(item.gameObject); item.gameObject.ShowObjectDelayed(.7f); } } }
public virtual void ShowButtons(string code, bool hideCurrent = true) { AnimateIn(); if (containerButtons == null) { return; } foreach (GameObjectShowItem item in containerButtons.GetComponentsInChildren <GameObjectShowItem>(true)) { if (item.code == code) { if (hideCurrent) { HideAllButtons(); } TweenUtil.ShowObjectBottom(item.gameObject); item.gameObject.ShowObjectDelayed(.7f); currentButtonCode = code; } } }
public virtual void ShowOverlayBlack(float time, float delay) { TweenUtil.ShowObjectBottom(overlayBlackSolid, TweenCoord.local, true, time, delay); }
public virtual void ShowOverlayWhiteRadial(float time, float delay) { TweenUtil.ShowObjectBottom(overlayWhiteRadial, TweenCoord.local, true, time, delay); }
public virtual void AnimateInBottom(GameObject go, float time = .5f, float delay = .5f, bool fade = true) { TweenUtil.ShowObjectBottom(go, TweenCoord.local, fade, time, delay); }
public virtual void ShowButtons() { TweenUtil.ShowObjectBottom(containerButtons); }
public virtual void ShowSelect() { TweenUtil.ShowObjectBottom(containerMissions); }
public virtual void ShowWorldsContainer() { containerWorlds.Show(); TweenUtil.ShowObjectBottom(containerWorlds); }