Interactable.ResetOnDestroy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If true, when this component is destroyed, active themes will reset their modified properties to original values on the targeted GameObjects. If false, GameObject properties will remain as-is.
public:
property bool ResetOnDestroy { bool get(); void set(bool value); };
public bool ResetOnDestroy { get; set; }
member this.ResetOnDestroy : bool with get, set
Public Property ResetOnDestroy As Boolean