Skip to content

Commit 7253ac3

Browse files
committed
jsdoc update.
1 parent 6e116a0 commit 7253ac3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/gameobjects/components/Core.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,10 @@ Phaser.Component.Core.prototype = {
240240

241241
/**
242242
* 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)
243+
* You can set it directly to allow you to flag an object to be destroyed on its next update.
244+
*
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.
245247
*
246248
* @property {boolean} pendingDestroy
247249
*/

0 commit comments

Comments
 (0)