DestroyProxy (Component)

From Neos Wiki
Jump to navigation Jump to search
This page contains changes which are not marked for translation.


This article or section is a Stub. You can help the Neos Wiki by expanding it.


Destroy Proxy component as seen in the Scene Inspector

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated
Enabled Bool Controls whether or not this component is enabled
DestroyTarget IDestroyable

Usage

The DestroyProxy component is used to automatically destroy a specified DestroyTarget when the slot it is attached to gets destroyed.

Important to note: If you'd like to remove the component, first unset the DestroyTarget or else the target IDestroyable object will be destroyed as well.

Examples

Related Components