How do you destroy gameObjects?

As above

Original Post on Discord

by user 103054507105067008


Worth noting that resources might need to be freed by yourself rightnow (depends on what you allocate/load in your scripts)

See also: three.js docs

I only see GameObject.Destroyed in autofills in VS

by user 103054507105067008

it’s there tho :slightly_smiling_face:

static method on the GameObject type

there is no GameObject.Destroyed in needle engine :thinking:

maybe it suggests the wrong type?

Does seem to work, thanks!

by user 103054507105067008