Class MenuButton
Class MenuButton.
Inherited Members
UnityEngine.UI.Selectable.OnValidate()
UnityEngine.UI.Selectable.Reset()
UnityEngine.UI.Selectable.animator
Namespace: UnityEngine.Industrial.Configuring.RuntimeUI
Syntax
public class MenuButton : Selectable, IMoveHandler, IPointerDownHandler, IPointerUpHandler, IPointerEnterHandler, IPointerExitHandler, ISelectHandler, IDeselectHandler, IPointerClickHandler, IEventSystemHandler
Fields
onStatusChange
The on status change
Declaration
public StatusChangedEvent onStatusChange
Field Value
Type | Description |
---|---|
StatusChangedEvent |
Properties
IsOn
Gets a value indicating whether this instance is on.
Declaration
public bool IsOn { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
Methods
OnPointerClick(PointerEventData)
Called when [pointer click].
Declaration
public void OnPointerClick(PointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
PointerEventData | eventData | The event data. |
Implements
Start()
Starts this instance.
Declaration
protected override void Start()
Overrides
ToggleView(Boolean)
Toggles the view.
Declaration
public void ToggleView(bool open)
Parameters
Type | Name | Description |
---|---|---|
Boolean | open | if set to |