Namespace: Astra · Assembly: Astra.Scripting · Tipo: Struct
readonly struct Astra.GuiInputAccess
Read the Canvas receiver’s sampled action map. Runtime policy is inherited from Input.
.ctor
public GuiInputAccess(Astra.ISceneAccess scene)
Read the Canvas receiver’s sampled action map. Runtime policy is inherited from Input.
| Parâmetro |
Tipo |
Contrato |
scene |
Astra.ISceneAccess |
|
ActionState
public Astra.InputActionState ActionState(string action)
| Parâmetro |
Tipo |
Contrato |
action |
string |
|
Axis
public float Axis(string action)
| Parâmetro |
Tipo |
Contrato |
action |
string |
|
Axis2
public System.Numerics.Vector2 Axis2(string action)
| Parâmetro |
Tipo |
Contrato |
action |
string |
|
JustPressed
public bool JustPressed(string action)
| Parâmetro |
Tipo |
Contrato |
action |
string |
|
JustReleased
public bool JustReleased(string action)
| Parâmetro |
Tipo |
Contrato |
action |
string |
|
Pressed
public bool Pressed(string action)
| Parâmetro |
Tipo |
Contrato |
action |
string |
|