private static void CloseHereIcon() { if (EIcon.hereIconShow && EIcon.sHereIconTimer <= 0) { EIcon.HideBubble(); EIcon.hereIconShow = false; } }
public static void HideDialogBubble() { EIcon.dialogBubble = false; EIcon.HideBubble(); }
public static void ProcessFIcon() { if (!EIcon.processFIcon) { return; } if (EIcon.dialogBubble) { return; } EventEngine instance = PersistenSingleton <EventEngine> .Instance; BubbleUI instance2 = Singleton <BubbleUI> .Instance; if (instance2 == (UnityEngine.Object)null) { return; } if (!instance2.gameObject.activeSelf) { instance2.gameObject.SetActive(true); } Int32 num = 0; if (!EIcon.sFIconLastPolled && EIcon.sFIconPolled) { num = 1; } else if (EIcon.sFIconLastPolled && !EIcon.sFIconPolled) { num = 2; } else if (EIcon.sFIconLastPolled && EIcon.sFIconPolled && !instance2.IsActive) { if (EIcon.HideDelay > 0f) { EIcon.HideDelay -= Time.deltaTime; } else { num = 1; } } else if (!EIcon.sFIconLastPolled && !EIcon.sFIconPolled && instance2.IsActive && !EIcon.hereIconShow) { if (EIcon.ShowDelay > 0f) { EIcon.ShowDelay -= Time.deltaTime; } else { num = 2; } } EIcon.sFIconLastPolled = EIcon.sFIconPolled; EIcon.sFIconPolled = false; if (num == 1) { EIcon.ShowBubble(); } else if (num == 2) { EIcon.HideBubble(); } else if (!EIcon.hereIconShow && instance2.IsActive) { Boolean flag = false; if (EIcon.sFIconType != EIcon.sFIconLastType) { flag = true; } if (flag) { EIcon.HideBubble(); EIcon.sFIconPolled = false; EIcon.sFIconLastPolled = EIcon.sFIconPolled; } } EIcon.sFIconLastType = EIcon.sFIconType; }