private void Awake() { if (_inst != null) { Debug.LogError($"On Awake, {typeof(ActiveUtil).Name}.Inst != null"); } _inst = this; }
private void OnDestroy() { _inst = null; if (_TFQI_dict != null) { _TFQI_dict.Clear(); _TFQI_dict = null; } if (_TFQI_list != null) { _TFQI_list.Clear(); _TFQI_list = null; } if (_TFQI_pool != null) { _TFQI_pool.Clear(); _TFQI_pool = null; } }