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