Removes a previously registered Game Object from the global Game Object Factory and / or Creator. This is usually called from within your Plugin destruction code to help clean-up after your plugin has been removed.
name | type | arguments | Default | description |
---|---|---|---|---|
key | string |
The key of the Game Object to be removed from the factories. |
||
removeFromFactory | boolean | <optional> | true |
Should the Game Object be removed from the Game Object Factory? |
removeFromCreator | boolean | <optional> | true |
Should the Game Object be removed from the Game Object Creator? |