We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e116a0 commit 7253ac3Copy full SHA for 7253ac3
1 file changed
src/gameobjects/components/Core.js
@@ -240,8 +240,10 @@ Phaser.Component.Core.prototype = {
240
241
/**
242
* A Game Object is that is pendingDestroy is flagged to have its destroy method called on the next logic update.
243
- * This is used internally by the likes of Buttons but you can also set it directly, to allow you to flag an
244
- * object to be destroyed from within one of its own callbacks (such as a Button or Input event)
+ * You can set it directly to allow you to flag an object to be destroyed on its next update.
+ *
245
+ * This is extremely useful if you wish to destroy and object from within one of its own callbacks
246
+ * such as with Buttons or other Input events.
247
*
248
* @property {boolean} pendingDestroy
249
*/
0 commit comments