Class WebBrowserInputHandler

Abstraction layer for getting input

Inheritance
WebBrowserInputHandler
Namespace: VoltstroStudios.UnityWebBrowser.Input
Assembly: .dll
Syntax
public abstract class WebBrowserInputHandler : ScriptableObject

Methods

| Edit this page View Source

DisableIme()

Called when IME is no longer needed

Declaration
public abstract void DisableIme()
| Edit this page View Source

EnableIme(Vector2)

Called when IME needs to be enabled

Declaration
public abstract void EnableIme(Vector2 location)
Parameters
TypeNameDescription
Vector2location
| Edit this page View Source

GetCursorPos()

Get the current cursor position on the screen as a Vector2

Declaration
public abstract Vector2 GetCursorPos()
Returns
TypeDescription
Vector2
| Edit this page View Source

GetDownKeys()

Get all keys that are down this frame

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

Returns an array of WindowsKey that are up

| Edit this page View Source

GetFrameInputBuffer()

Gets the input buffer for this frame

Declaration
public abstract string GetFrameInputBuffer()
Returns
TypeDescription
string
| Edit this page View Source

GetScroll()

Get the scroll

Declaration
public abstract float GetScroll()
Returns
TypeDescription
float
| Edit this page View Source

GetUpKeys()

Get all keys that are up this frame

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

Returns an array of WindowsKey that are down

| Edit this page View Source

OnStart()

Called when inputs are started

Declaration
public abstract void OnStart()
| Edit this page View Source

OnStop()

Called when inputs are stopped

Declaration
public abstract void OnStop()