public void Release() { try { OnRelease(); } catch (Exception e) { Debug.LogError(e.ToString()); } HeapObjectPool.ReleaseObject(GetType().Name, this); }
public void Release() { try { OnRelease(); } catch (Exception e) { Debug.LogError(e.ToString()); } HeapObjectPool.ReleaseObject(GetType().Name, this); }