SampleInput Class

Assembly
Animancer.dll
Namespace
Animancer.Samples
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["SampleInput"] class Type type-node

Syntax

[AnimancerHelpUrl(typeof(SampleInput))]
public static class SampleInput

Attributes

Type Description
AnimancerHelpUrlAttribute [Assert-Conditional] A UnityEngine.HelpURLAttribute which points to Animancer's documentation.

Properties

Name Value Summary
IsPointerOverUI bool
Is the mouse pointer currently over a UI object?
static
LeftMouseDown bool
Was the left mouse button pressed this frame?
static
LeftMouseHold bool
Is the left mouse button currently being held down?
static
LeftMouseUp bool
Was the left mouse button released this frame?
static
LeftShiftHold bool
Is UnityEngine.KeyCode.LeftShift currently being held down?
static
MousePosition Vector2
The current screen position of the mouse pointer.
static
MousePositionDelta Vector2
The amount that the mouse has moved since last frame.
static
MouseScrollDelta Vector2
The amount that the mouse scroll value has changed since last frame.
static
Number1Up bool
Was UnityEngine.KeyCode.Alpha1 released this frame?
static
Number2Up bool
Was UnityEngine.KeyCode.Alpha2 released this frame?
static
RightMouseDown bool
Was the right mouse button pressed this frame?
static
RightMouseHold bool
Is the right mouse button currently being held down?
static
SpaceDown bool
Was UnityEngine.KeyCode.Space pressed this frame?
static
SpaceHold bool
Is UnityEngine.KeyCode.Space currently being held down?
static
SpaceUp bool
Was UnityEngine.KeyCode.Space released this frame?
static
WASD Vector2
WASD Controls.
static