Class FakeBaseInput
Inheritance
FakeBaseInput
Inherited Members
Component.GetComponentIndex()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Scene)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Assembly: UnityEngine.UI.Tests.dll
public class FakeBaseInput : BaseInput
Fields
Declaration
[NonSerialized]
public float AxisRaw
Field Value
Declaration
[NonSerialized]
public bool ButtonDown
Field Value
Declaration
[NonSerialized]
public string CompositionString
Field Value
Declaration
[NonSerialized]
public bool[] MouseButton
Field Value
Declaration
[NonSerialized]
public bool[] MouseButtonDown
Field Value
Declaration
[NonSerialized]
public bool[] MouseButtonUp
Field Value
Declaration
[NonSerialized]
public Vector2 MousePosition
Field Value
Declaration
[NonSerialized]
public bool MousePresent
Field Value
Declaration
[NonSerialized]
public Vector2 MouseScrollDelta
Field Value
Declaration
[NonSerialized]
public int TouchCount
Field Value
Declaration
[NonSerialized]
public Touch TouchData
Field Value
Declaration
[NonSerialized]
public bool TouchSupported
Field Value
Properties
Interface to Input.compositionCursorPos. Can be overridden to provide custom input instead of using the Input class.
Declaration
public override Vector2 compositionCursorPos { get; set; }
Property Value
Overrides
Interface to Input.compositionString. Can be overridden to provide custom input instead of using the Input class.
Declaration
public override string compositionString { get; }
Property Value
Overrides
Interface to Input.imeCompositionMode. Can be overridden to provide custom input instead of using the Input class.
Declaration
public override IMECompositionMode imeCompositionMode { get; set; }
Property Value
Overrides
Interface to Input.mousePosition. Can be overridden to provide custom input instead of using the Input class.
Declaration
public override Vector2 mousePosition { get; }
Property Value
Overrides
Interface to Input.mousePresent. Can be overridden to provide custom input instead of using the Input class.
Declaration
public override bool mousePresent { get; }
Property Value
Overrides
Interface to Input.mouseScrollDelta. Can be overridden to provide custom input instead of using the Input class.
Declaration
public override Vector2 mouseScrollDelta { get; }
Property Value
Overrides
Interface to Input.touchCount. Can be overridden to provide custom input instead of using the Input class.
Declaration
public override int touchCount { get; }
Property Value
Overrides
Interface to Input.touchSupported. Can be overridden to provide custom input instead of using the Input class.
Declaration
public override bool touchSupported { get; }
Property Value
Overrides
Methods
Interface to Input.GetAxisRaw. Can be overridden to provide custom input instead of using the Input class.
Declaration
public override float GetAxisRaw(string axisName)
Parameters
Type |
Name |
Description |
string |
axisName |
Axis name to check
|
Returns
Overrides
Interface to Input.GetButtonDown. Can be overridden to provide custom input instead of using the Input class.
Declaration
public override bool GetButtonDown(string buttonName)
Parameters
Type |
Name |
Description |
string |
buttonName |
Button name to get
|
Returns
Overrides
Interface to Input.GetMouseButton. Can be overridden to provide custom input instead of using the Input class.
Declaration
public override bool GetMouseButton(int button)
Parameters
Type |
Name |
Description |
int |
button |
|
Returns
Overrides
Interface to Input.GetMouseButtonDown. Can be overridden to provide custom input instead of using the Input class.
Declaration
public override bool GetMouseButtonDown(int button)
Parameters
Type |
Name |
Description |
int |
button |
|
Returns
Overrides
Interface to Input.GetMouseButtonUp. Can be overridden to provide custom input instead of using the Input class.
Declaration
public override bool GetMouseButtonUp(int button)
Parameters
Type |
Name |
Description |
int |
button |
|
Returns
Overrides
Interface to Input.GetTouch. Can be overridden to provide custom input instead of using the Input class.
Declaration
public override Touch GetTouch(int index)
Parameters
Type |
Name |
Description |
int |
index |
Touch index to get
|
Returns
Overrides
Extension Methods