public void ShowOverview() { HideStates(); containerOverview.Show(); ShowCamera(); ShowLoaderSpinner(); UpdateOverviewWorld(); if (containerLoader.Has <GameObjectImageFill>()) { GameObjectImageFill fill = containerLoader.Get <GameObjectImageFill>(); fill.Reset(); } // Update team display //LogUtil.Log("ShowOverview:"); flowState = AppOverviewFlowState.GeneralTips; UIPanelDialogBackground.ShowDefault(); UIUtil.SetLabelValue(labelOverviewType, AppContentStates.Current.display_name); AnimateInBottom(containerOverview); UIColors.UpdateColors(); InvokeRepeating("ShowOverviewTip", 0, 15); }
public void HideContent() { UIPanelDialogBackground.HideAll(); ContentPause(); AnimateOutBottom(containerContent, 0f, 0f); }
public override void AnimateIn() { base.AnimateIn(); UIPanelDialogBackground.ShowDefault(); loadData(); }
// SHOW / HIDE public void HideStates() { UIPanelDialogBackground.HideAll(); HideOverview(); HideDisplayItem(); HideResultItem(); HideResults(); }
public void ShowContent() { UIPanelDialogBackground.ShowDefault(); AnimateInBottom(containerContent); ContentPause(); UIColors.UpdateColors(); }
public void Awake() { if (Instance != null && this != Instance) { //There is already a copy of this script running //Destroy(gameObject); return; } Instance = this; }
public void HideStates() { UIPanelDialogBackground.HideAll(); UIPanelDialogRPGHealth.HideAll(); UIPanelDialogRPGEnergy.HideAll(); HideOverview(); HideTutorial(); HideTips(); }
// RESULT ITEM public void ShowResultItem() { HideStates(); UIPanelDialogBackground.ShowDefault(); //LogUtil.Log("UIPanelModeTypeChoice:ShowResultItem:flowState:" + flowState); AnimateInBottom(containerChoiceResultItem); ContentPause(); }
public void ShowOverview() { HideStates(); UIPanelDialogBackground.ShowDefault(); //LogUtil.Log("UIPanelModeTypeChoice:ShowOverview:flowState:" + flowState); AnimateInBottom(containerChoiceOverview); ContentPause(); UIColors.UpdateColors(); }
public void HideStates() { HideButtonPlay(); UIUtil.SetLabelValue(labelOverviewTip, loadingLevelDisplay); UIPanelDialogBackground.HideAll(); UIPanelDialogRPGHealth.HideAll(); UIPanelDialogRPGEnergy.HideAll(); HideOverview(); HideTutorial(); HideTips(); }
public void ShowOverview() { HideStates(); flowState = AppOverviewFlowState.Mode; UIPanelDialogBackground.ShowDefault(); UIUtil.SetLabelValue(labelOverviewType, AppContentStates.Current.display_name); AnimateInBottom(containerOverview); ContentPause(); UIColors.UpdateColors(); }
IEnumerator ShowDisplayItemCo() { yield return(new WaitForEndOfFrame()); UIPanelDialogBackground.ShowDefault(); //LogUtil.Log("UIPanelModeTypeChoice:ShowDisplayItem:flowState:" + flowState); AnimateInBottom(containerChoiceDisplayItem); loadDataChoice(); UIColors.UpdateColors(); ContentPause(); }
public void ShowTips() { HideStates(); flowState = AppOverviewFlowState.GeneralTips; UIPanelDialogBackground.ShowDefault(); UIUtil.SetLabelValue(labelOverviewType, AppContentStates.Current.display_name); //LogUtil.Log("UIPanelModeTypeChoice:ShowOverview:flowState:" + flowState); AnimateInBottom(containerOverviewGameplayTips); UIColors.UpdateColors(); }
public void ShowOverview() { HideStates(); // Update team display //LogUtil.Log("ShowOverview:"); flowState = AppOverviewFlowState.Mode; UIPanelDialogBackground.ShowDefault(); UpdateOverviewWorld(); UIUtil.SetLabelValue(labelOverviewType, AppContentStates.Current.display_name); AnimateInBottom(containerOverview); GameCustomController.BroadcastCustomSync(); foreach (GameCustomPlayer customPlayer in gameObject.GetList <GameCustomPlayer>()) { if (customPlayer.isActorTypeEnemy) { GameTeam team = GameTeams.Current; if (team != null) { UIUtil.SetLabelValue(labelOverviewTeamEnemy, team.display_name); GameCustomCharacterData customInfo = new GameCustomCharacterData(); customInfo.actorType = GameCustomActorTypes.enemyType; customInfo.presetColorCode = team.data.GetColorPreset().code; customInfo.presetTextureCode = team.data.GetTexturePreset().code; customInfo.type = GameCustomTypes.teamType; customInfo.teamCode = team.code; customPlayer.Load(customInfo); } } } ContentPause(); UIColors.UpdateColors(); }
public void ShowOverview() { HideStates(); containerOverview.Show(); ShowCamera(); // Update team display //LogUtil.Log("ShowOverview:"); flowState = AppOverviewFlowState.GeneralTips; UIPanelDialogBackground.ShowDefault(); UIUtil.SetLabelValue(labelOverviewType, AppContentStates.Current.display_name); AnimateInBottom(containerOverview); UIColors.UpdateColors(); InvokeRepeating("ShowOverviewTip", 0, 15); }