Exemple #1
0
 public T GetInstance <T>() where T : PoolItem => Pools.Pull <T>(this);
Exemple #2
0
 public void PutBack() => Pools.Push(this);
Exemple #3
0
 protected virtual void OnDestroy() => Pools.Remove(this);