Class UI_GamepadFocusableGroup
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
UI_GamepadFocusableGroup
Assembly: Dew.Core.dll
Syntax
public class UI_GamepadFocusableGroup : MonoBehaviour
Fields
customTarget
Declaration
[ShowIf("@enterBehavior == EnterGroupBehavior.Custom", true)]
public GameObject customTarget
Field Value
| Type |
Description |
| UnityEngine.GameObject |
|
enterBehavior
Declaration
[HideLabel]
[LabelText("When Entering")]
public EnterGroupBehavior enterBehavior
Field Value
Methods
GetEnterFocusable(GameObject, EnterGroupBehavior, Vector2)
Declaration
public static IGamepadFocusable GetEnterFocusable(GameObject parent, EnterGroupBehavior enterBehavior, Vector2 direction)
Parameters
| Type |
Name |
Description |
| UnityEngine.GameObject |
parent |
|
| EnterGroupBehavior |
enterBehavior |
|
| UnityEngine.Vector2 |
direction |
|
Returns
GetEnterFocusable(Vector2)
Declaration
public virtual IGamepadFocusable GetEnterFocusable(Vector2 direction)
Parameters
| Type |
Name |
Description |
| UnityEngine.Vector2 |
direction |
|
Returns
IsValid()
Declaration
Returns
Extension Methods