Interactable.IsEnabled 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.
Defines whether the Interactable is enabled or not internally This is different than the Enabled property at the GameObject/Component level When false, Interactable will continue to run in Unity but not respond to Input.
public:
virtual property bool IsEnabled { bool get(); void set(bool value); };
public virtual bool IsEnabled { get; set; }
member this.IsEnabled : bool with get, set
Public Overridable Property IsEnabled As Boolean
Property Value
Remarks
Property is useful for disabling UX, such as greying out a button, until a user completes some pre-mandatory step such as fill out their name, etc