protected override void Reset() { if (string.IsNullOrEmpty(_poolName)) { Log.Exception(MessageGroup.Common, "Pool name is nulled or empty !!!"); return; } DevilPoolManager.UnregisterPool(_poolName); }
private void RegisterMyself() { if (string.IsNullOrEmpty(_poolName)) { Log.Exception(MessageGroup.Common, "Pool name is nulled or empty !!!"); return; } if (_listOfPrefabs == null) { _listOfPrefabs = new List <DevilObjectData>(); } DevilPoolManager.RegisterPool(_poolName, this); }