void OnDestroy() { this.isDestroyed = true; if (!this.clientRunTime.cleared) { ResFactory.removePool(this.gameObject); } }