Class WebBrowserOldInputHandler
Input handler using Unity's old UnityEngine.Input
Namespace: VoltstroStudios.UnityWebBrowser.Input
Assembly: .dll
Syntax
public sealed class WebBrowserOldInputHandler : WebBrowserInputHandler
Fields
| Edit this page View SourcescrollAxisName
The name of the axis for the scroll
Declaration
public string scrollAxisName
Field Value
Type | Description |
---|---|
string |
scrollSensitivity
How much sensitivity for the scroll
Declaration
public float scrollSensitivity
Field Value
Type | Description |
---|---|
float |
Methods
| Edit this page View SourceDisableIme()
Called when IME is no longer needed
Declaration
public override void DisableIme()
Overrides
| Edit this page View SourceEnableIme(Vector2)
Called when IME needs to be enabled
Declaration
public override void EnableIme(Vector2 location)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | location |
Overrides
| Edit this page View SourceGetCursorPos()
Get the current cursor position on the screen as a Vector2
Declaration
public override Vector2 GetCursorPos()
Returns
Type | Description |
---|---|
Vector2 |
Overrides
| Edit this page View SourceGetDownKeys()
Get all keys that are down this frame
Declaration
public override WindowsKey[] GetDownKeys()
Returns
Type | Description |
---|---|
WindowsKey[] | Returns an array of WindowsKey that are up |
Overrides
| Edit this page View SourceGetFrameInputBuffer()
Gets the input buffer for this frame
Declaration
public override string GetFrameInputBuffer()
Returns
Type | Description |
---|---|
string |
Overrides
| Edit this page View SourceGetScroll()
Get the scroll
Declaration
public override float GetScroll()
Returns
Type | Description |
---|---|
float |
Overrides
| Edit this page View SourceGetUpKeys()
Get all keys that are up this frame
Declaration
public override WindowsKey[] GetUpKeys()
Returns
Type | Description |
---|---|
WindowsKey[] | Returns an array of WindowsKey that are down |
Overrides
| Edit this page View SourceOnStart()
Called when inputs are started
Declaration
public override void OnStart()
Overrides
| Edit this page View SourceOnStop()
Called when inputs are stopped
Declaration
public override void OnStop()