Interactable.ResetOnDestroy Property

Definition

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

Property Value

Applies to