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 override void AnimateIn() { base.AnimateIn(); UIPanelDialogBackground.ShowDefault(); loadData(); }
public void ShowContent() { UIPanelDialogBackground.ShowDefault(); AnimateInBottom(containerContent); ContentPause(); UIColors.UpdateColors(); }
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(); }