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