Search Results for

    Method GetUp

    GetUp(RawButton, ControllerType)

    Whether the button is pressed up in this frame

    Declaration
    public static bool GetUp(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 rawMask button is pressed up in this frame

    GetUp(VirtualButton, ControllerType)

    Whether the button is pressed up in this frame

    Declaration
    public static bool GetUp(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 virtualMask button is pressed up in this frame

    GetUp(RawTouch, ControllerType)

    Whether the button is touched up in this frame

    Declaration
    public static bool GetUp(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 rawMask button is touched up in this frame

    GetUp(VirtualTouch, ControllerType)

    Whether the button is touched up in this frame

    Declaration
    public static bool GetUp(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 virtualMask button is touched up in this frame

    In This Article