private void Awake() { if (instance == null) { instance = this; } else { Destroy(this); } }
private void Awake() { if (instance == null) { instance = this; } else { Destroy(this); } EnumListCache = Enum.GetNames(typeof(InGameEventType)).ToList(); }