Class WebBrowserOldInputHandler

Input handler using Unity's old UnityEngine.Input

Inheritance
WebBrowserOldInputHandler
Namespace: VoltstroStudios.UnityWebBrowser.Input
Assembly: .dll
Syntax
public sealed class WebBrowserOldInputHandler : WebBrowserInputHandler

Fields

| Edit this page View Source

scrollAxisName

The name of the axis for the scroll

Declaration
public string scrollAxisName
Field Value
TypeDescription
string
| Edit this page View Source

scrollSensitivity

How much sensitivity for the scroll

Declaration
public float scrollSensitivity
Field Value
TypeDescription
float

Methods

| Edit this page View Source

DisableIme()

Called when IME is no longer needed

Declaration
public override void DisableIme()
Overrides
WebBrowserInputHandler.DisableIme()
| Edit this page View Source

EnableIme(Vector2)

Called when IME needs to be enabled

Declaration
public override void EnableIme(Vector2 location)
Parameters
TypeNameDescription
Vector2location
Overrides
WebBrowserInputHandler.EnableIme(Vector2)
| Edit this page View Source

GetCursorPos()

Get the current cursor position on the screen as a Vector2

Declaration
public override Vector2 GetCursorPos()
Returns
TypeDescription
Vector2
Overrides
WebBrowserInputHandler.GetCursorPos()
| Edit this page View Source

GetDownKeys()

Get all keys that are down this frame

Declaration
public override WindowsKey[] GetDownKeys()
Returns
TypeDescription
WindowsKey[]

Returns an array of WindowsKey that are up

Overrides
WebBrowserInputHandler.GetDownKeys()
| Edit this page View Source

GetFrameInputBuffer()

Gets the input buffer for this frame

Declaration
public override string GetFrameInputBuffer()
Returns
TypeDescription
string
Overrides
WebBrowserInputHandler.GetFrameInputBuffer()
| Edit this page View Source

GetScroll()

Get the scroll

Declaration
public override float GetScroll()
Returns
TypeDescription
float
Overrides
WebBrowserInputHandler.GetScroll()
| Edit this page View Source

GetUpKeys()

Get all keys that are up this frame

Declaration
public override WindowsKey[] GetUpKeys()
Returns
TypeDescription
WindowsKey[]

Returns an array of WindowsKey that are down

Overrides
WebBrowserInputHandler.GetUpKeys()
| Edit this page View Source

OnStart()

Called when inputs are started

Declaration
public override void OnStart()
Overrides
WebBrowserInputHandler.OnStart()
| Edit this page View Source

OnStop()

Called when inputs are stopped

Declaration
public override void OnStop()
Overrides
WebBrowserInputHandler.OnStop()