* @internal
()
| 258 | * @internal |
| 259 | */ |
| 260 | protected override _onDestroy(): void { |
| 261 | super._onDestroy(); |
| 262 | if (this.scene) { |
| 263 | this.scene._componentsManager.addPendingDestroyScript(this); |
| 264 | } else { |
| 265 | this.onDestroy(); |
| 266 | } |
| 267 | } |
| 268 | } |
| 269 | |
| 270 | export enum PointerMethods { |
nothing calls this directly
no test coverage detected