public static void ProcessAIcon() { if (s_AIconMode > 0 && ((s_AIconMode & 4) > 0 || PersistenSingleton <EventEngine> .Instance.GetUserControl())) { ++s_AIconTimer; if ((s_AIconMode & 3) != 2) { s_currentAte = ATEType.Blue; ShowAIcon(true, s_currentAte); } else { if ((s_AIconTimer / 15 & 1) <= 0) { return; } s_currentAte = ATEType.Gray; ShowAIcon(true, s_currentAte); } } else { ShowAIcon(false, s_currentAte); } }
static EIcon() { dialogBubble = false; dialogAlternativeKey = false; processFIcon = true; recheckScript = false; hereIconShow = false; ShowDelay = 0.0f; HideDelay = 0.0f; worldActorOffset = new Vector3(0.0f, 1.8f, 0.0f); currentATE = ATEType.Blue; }
private void SetCurrentATESprite(ATEType ateType) { this.currentType = ateType; if (ateType != ATEType.Blue) { if (ateType != ATEType.Gray) { this.currentFuntion = String.Empty; } else { this.currentFuntion = "DisplayGrayATEText"; } } else { this.currentFuntion = "DisplayBlueATEText"; } }
public void EnableATE(Boolean isEnable, ATEType ateType) { if (isEnable) { if (!base.gameObject.activeSelf) { base.gameObject.SetActive(true); base.StopCoroutine("DisplayBlueATEText"); base.StopCoroutine("DisplayGrayATEText"); if (this.mStart) { this.SetIcon(); } this.SetCurrentATESprite(ateType); this.SetSpriteVisibility(false); this.PressSelectSprite.SetActive(false); this.isReady = true; } } else if (base.gameObject.activeSelf) { base.gameObject.SetActive(false); } }
public static void ShowAIcon(bool isActive, ATEType type) { UIManager.Field.EnableATE(isActive, type); }
public void EnableATE(Boolean isEnable, ATEType ateType) { ATEGameObject.GetComponent <ActiveTimeEvent>().EnableATE(isEnable, ateType); }
public void EnableATE(bool isEnable, ATEType ateType) { this.ATEGameObject.GetComponent <ActiveTimeEvent> ().EnableATE(isEnable, ateType); }