Interactable.IsEnabled Property


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.

 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



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

Applies to