Method GetDown
GetDown(RawButton, ControllerType)
Whether the button is pressed down in this frame
Declaration
public static bool GetDown(YVRInput.RawButton rawMask, ControllerType controllerMask = ControllerType.Active)
Parameters
Type | Name | Description |
---|---|---|
YVRInput.RawButton | rawMask | Target button |
ControllerType | controllerMask | Target controller |
Returns
Type | Description |
---|---|
bool | true if the |
GetDown(VirtualButton, ControllerType)
Whether the button is pressed down in this frame
Declaration
public static bool GetDown(YVRInput.VirtualButton virtualMask, ControllerType controllerMask = ControllerType.Active)
Parameters
Type | Name | Description |
---|---|---|
YVRInput.VirtualButton | virtualMask | Target button |
ControllerType | controllerMask | Target controller |
Returns
Type | Description |
---|---|
bool | true if the |
GetDown(RawTouch, ControllerType)
Whether the button is touched down in this frame
Declaration
public static bool GetDown(YVRInput.RawTouch rawMask, ControllerType controllerMask = ControllerType.Active)
Parameters
Type | Name | Description |
---|---|---|
YVRInput.RawTouch | rawMask | Target button |
ControllerType | controllerMask | Target controller |
Returns
Type | Description |
---|---|
bool | true if the |
GetDown(VirtualTouch, ControllerType)
Whether the button is touched down in this frame
Declaration
public static bool GetDown(YVRInput.VirtualTouch virtualMask, ControllerType controllerMask = ControllerType.Active)
Parameters
Type | Name | Description |
---|---|---|
YVRInput.VirtualTouch | virtualMask | Target button |
ControllerType | controllerMask | Target controller |
Returns
Type | Description |
---|---|
bool | true if the |