Input
UnityObjectLink
Input

class:/TYPE/UnityEngine.Input//, can be loaded from an assetbundle using Input::createfromassetbundle(bundlename,prefabname) /

Parent

UnityObjectLink

Variables
input::​acceleration
static readonly UnityEngine.Vector3 input::acceleration
input::​accelerationeventcount
static readonly System.Int32 input::accelerationeventcount
input::​accelerationevents
static readonly UnityEngine.AccelerationEvent[] input::accelerationevents
input::​anykey
static readonly System.Boolean input::anykey
input::​anykeydown
static readonly System.Boolean input::anykeydown
input::​backbuttonleavesapp
static System.Boolean input::backbuttonleavesapp
input::​compass
static readonly UnityEngine.Compass input::compass
input::​compensatesensors
static System.Boolean input::compensatesensors
input::​compositioncursorpos
static UnityEngine.Vector2 input::compositioncursorpos
input::​compositionstring
static readonly System.String input::compositionstring
input::​deviceorientation
static readonly UnityEngine.DeviceOrientation input::deviceorientation
input::​gyro
static readonly UnityEngine.Gyroscope input::gyro
input::​imecompositionmode
static UnityEngine.IMECompositionMode input::imecompositionmode
input::​imeisselected
static readonly System.Boolean input::imeisselected
input::​inputstring
static readonly System.String input::inputstring
input::​location
static readonly UnityEngine.LocationService input::location
input::​mouseposition
static readonly UnityEngine.Vector3 input::mouseposition
input::​mousepresent
static readonly System.Boolean input::mousepresent
input::​mousescrolldelta
static readonly UnityEngine.Vector2 input::mousescrolldelta
input::​multitouchenabled
static System.Boolean input::multitouchenabled
input::​simulatemousewithtouches
static System.Boolean input::simulatemousewithtouches
input::​stylustouchsupported
static readonly System.Boolean input::stylustouchsupported
input::​touchcount
static readonly System.Int32 input::touchcount
input::​touches
static readonly UnityEngine.Touch[] input::touches
input::​touchpressuresupported
static readonly System.Boolean input::touchpressuresupported
input::​touchsupported
static readonly System.Boolean input::touchsupported
Functions
input::​create
static UnityEngine.Input Create ()

Constructor replaces new;

Returns

UnityEngine.Input

input::​fromassetbundle
static UnityEngine.Input CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.Input

input::​getaccelerationevent
static UnityEngine.AccelerationEvent GetAccelerationEvent(
System.Int32 index
)

System.Int32 index-no documentation

Parameters

index -

Returns

UnityEngine.AccelerationEvent

input::​getaxis
static System.Single GetAxis(
System.String axisName
)

System.String axisName-no documentation

Parameters

axisName -

Returns

System.Single

input::​getaxisraw
static System.Single GetAxisRaw(
System.String axisName
)

System.String axisName-no documentation

Parameters

axisName -

Returns

System.Single

input::​getbutton
static System.Boolean GetButton(
System.String buttonName
)

System.String buttonName-no documentation

Parameters

buttonName -

Returns

System.Boolean

input::​getbuttondown
static System.Boolean GetButtonDown(
System.String buttonName
)

System.String buttonName-no documentation

Parameters

buttonName -

Returns

System.Boolean

input::​getbuttonup
static System.Boolean GetButtonUp(
System.String buttonName
)

System.String buttonName-no documentation

Parameters

buttonName -

Returns

System.Boolean

input::​getjoysticknames
static System.String[] GetJoystickNames()
Returns

System.String[]

input::​getkey
static System.Boolean GetKey(
UnityEngine.KeyCode key
)

UnityEngine.KeyCode key-no documentation

Parameters

key -

Returns

System.Boolean

input::​getkey
static System.Boolean GetKey(
System.String name
)

System.String name-no documentation

Parameters

name -

Returns

System.Boolean

input::​getkeydown
static System.Boolean GetKeyDown(
System.String name
)

System.String name-no documentation

Parameters

name -

Returns

System.Boolean

input::​getkeydown
static System.Boolean GetKeyDown(
UnityEngine.KeyCode key
)

UnityEngine.KeyCode key-no documentation

Parameters

key -

Returns

System.Boolean

input::​getkeyup
static System.Boolean GetKeyUp(
System.String name
)

System.String name-no documentation

Parameters

name -

Returns

System.Boolean

input::​getkeyup
static System.Boolean GetKeyUp(
UnityEngine.KeyCode key
)

UnityEngine.KeyCode key-no documentation

Parameters

key -

Returns

System.Boolean

input::​getmousebutton
static System.Boolean GetMouseButton(
System.Int32 button
)

System.Int32 button-no documentation

Parameters

button -

Returns

System.Boolean

input::​getmousebuttondown
static System.Boolean GetMouseButtonDown(
System.Int32 button
)

System.Int32 button-no documentation

Parameters

button -

Returns

System.Boolean

input::​getmousebuttonup
static System.Boolean GetMouseButtonUp(
System.Int32 button
)

System.Int32 button-no documentation

Parameters

button -

Returns

System.Boolean

input::​gettouch
static UnityEngine.Touch GetTouch(
System.Int32 index
)

System.Int32 index-no documentation

Parameters

index -

Returns

UnityEngine.Touch

input::​resetinputaxes
static System.Void ResetInputAxes()
Returns

System.Void