Class: UI_GamepadFocusable
- Namespace:
Global - Assembly:
Dew.Core.dll - Inheritance / Derived: UI_GamepadInputField → UI_GamepadTextInput_Key
csharp
[DisallowMultipleComponent]
public class UI_GamepadFocusable : MonoBehaviour, IGamepadFocusable, IGamepadFocusListenerFields
| Name | Declaration | Description |
|---|---|---|
canHoldConfirmToRepeat | public bool canHoldConfirmToRepeat | |
display | public SelectionDisplayType display | |
focusOnEnable | public bool focusOnEnable | |
ignoreSelectableInteractivity | public bool ignoreSelectableInteractivity |
Properties
| Name | Declaration | Description |
|---|---|---|
isFocused | public bool isFocused { get; } |
Methods
CanBeFocused()
csharp
public virtual bool CanBeFocused()Returns: bool
CanHoldConfirmToRepeat()
csharp
public bool CanHoldConfirmToRepeat()Returns: bool
GetSelectionDisplayType()
csharp
public SelectionDisplayType GetSelectionDisplayType()Returns: SelectionDisplayType
OnDisable()
csharp
protected virtual void OnDisable()OnEnable()
csharp
protected virtual void OnEnable()OnFocusStateChanged(bool)
csharp
public virtual void OnFocusStateChanged(bool state)Parameters:
| Name | Type | Description |
|---|---|---|
state | bool |