Inheritance
HoloLensInput
[Obsolete("Support for built-in VR will be removed in Unity 2020.1. Please update to the new Unity XR Plugin System. More information about the new XR Plugin System can be found at https://docs.google.com/document/d/1AMk4NwRVAtnG-LScXT2ne_s5mD4rmWK_C9dyn39ZDbc/edit.", false)]
public class HoloLensInput : BaseInput
Properties
Declaration
public override Vector2 mousePosition { get; }
Property Value
Declaration
public override bool mousePresent { get; }
Property Value
Declaration
public override Vector2 mouseScrollDelta { get; }
Property Value
Declaration
public override int touchCount { get; }
Property Value
Declaration
public override bool touchSupported { get; }
Property Value
Methods
Declaration
Returns
Declaration
protected override void Awake()
Declaration
public override bool GetMouseButton(int button)
Parameters
| Type |
Name |
Description |
| Int32 |
button |
|
Returns
Declaration
public override bool GetMouseButtonDown(int button)
Parameters
| Type |
Name |
Description |
| Int32 |
button |
|
Returns
Declaration
public override bool GetMouseButtonUp(int button)
Parameters
| Type |
Name |
Description |
| Int32 |
button |
|
Returns
Declaration
protected override void OnDestroy()
Declaration
public void UpdateInput()