Struct GamepadIconsExample.GamepadIcons
Namespace: UnityEngine.InputSystem.Samples.RebindUI
Syntax
[Serializable]
public struct GamepadIcons
Fields
buttonEast
Declaration
public Sprite buttonEast
Field Value
Type | Description |
---|---|
Sprite |
buttonNorth
Declaration
public Sprite buttonNorth
Field Value
Type | Description |
---|---|
Sprite |
buttonSouth
Declaration
public Sprite buttonSouth
Field Value
Type | Description |
---|---|
Sprite |
buttonWest
Declaration
public Sprite buttonWest
Field Value
Type | Description |
---|---|
Sprite |
dpad
Declaration
public Sprite dpad
Field Value
Type | Description |
---|---|
Sprite |
dpadDown
Declaration
public Sprite dpadDown
Field Value
Type | Description |
---|---|
Sprite |
dpadLeft
Declaration
public Sprite dpadLeft
Field Value
Type | Description |
---|---|
Sprite |
dpadRight
Declaration
public Sprite dpadRight
Field Value
Type | Description |
---|---|
Sprite |
dpadUp
Declaration
public Sprite dpadUp
Field Value
Type | Description |
---|---|
Sprite |
leftShoulder
Declaration
public Sprite leftShoulder
Field Value
Type | Description |
---|---|
Sprite |
leftStick
Declaration
public Sprite leftStick
Field Value
Type | Description |
---|---|
Sprite |
leftStickPress
Declaration
public Sprite leftStickPress
Field Value
Type | Description |
---|---|
Sprite |
leftTrigger
Declaration
public Sprite leftTrigger
Field Value
Type | Description |
---|---|
Sprite |
rightShoulder
Declaration
public Sprite rightShoulder
Field Value
Type | Description |
---|---|
Sprite |
rightStick
Declaration
public Sprite rightStick
Field Value
Type | Description |
---|---|
Sprite |
rightStickPress
Declaration
public Sprite rightStickPress
Field Value
Type | Description |
---|---|
Sprite |
rightTrigger
Declaration
public Sprite rightTrigger
Field Value
Type | Description |
---|---|
Sprite |
selectButton
Declaration
public Sprite selectButton
Field Value
Type | Description |
---|---|
Sprite |
startButton
Declaration
public Sprite startButton
Field Value
Type | Description |
---|---|
Sprite |
Methods
GetSprite(String)
Declaration
public Sprite GetSprite(string controlPath)
Parameters
Type | Name | Description |
---|---|---|
String | controlPath |
Returns
Type | Description |
---|---|
Sprite |