private void OnDestroy() { for (int i = 0; i < poolsArray.Count; i++) { PoolOption option = this.poolsArray[i]; option.ClearAllArray(); } }
public void OnDestroy() { for (int i = 0; i < this.poolsArray.Count; i++) { PoolOption opt = this.poolsArray[i]; opt.ClearAllArray(); } }