Component > Dialogue System > Save System > Persistent Destructible
This component records whether a GameObject has been destroyed or not.
Property | Function |
---|---|
Record On | (Not shown) Specifies whether to record that the GameObject has been destroyed when it's destroyed or just disabled (deactivated). |
Variable Name | The name of the variable to use to record whether the GameObject has been destroyed; if not set, uses Override Actor Name or the GameObject name. |
This component is useful to allow GameObjects to stay destroyed between level changes and game reloads.
Give each destructible GameObject (e.g., a crate) a unique variable name (e.g., "crate001"). An easy way to give each one a unique name is to leave Variable Name and add an Override Actor Name component. Then click the Unique button on it.
<< Components