Make It Flow  v1.1
MeadowGames.MakeItFlow.InputManager_Legacy Class Reference

Inherits MeadowGames.MakeItFlow.InputManager.

Public Member Functions

override bool KeyPressed (KeyCode key)
 
override bool KeyDown (KeyCode key)
 
override bool KeyUp (KeyCode key)
 
override Vector3 GetCanvasPointerPosition (CanvasManager canvasManager)
 

Public Attributes

KeyCode pointerKey = KeyCode.Mouse0
 
KeyCode secondaryPointerKey = KeyCode.Mouse1
 
KeyCode secondKey = KeyCode.LeftShift
 
override MFSelectEnum SelectType => _selectType
 
override Vector3 ScreenPointerPosition => Input.mousePosition
 
override bool PointerKeyPressed => KeyPressed(pointerKey)
 
override bool PointerKeyDown => KeyDown(pointerKey)
 
override bool PointerKeyUp => KeyUp(pointerKey)
 
override bool SecondaryPointerKeyPressed => KeyPressed(secondaryPointerKey)
 
override bool SecondaryPointerKeyDown => KeyDown(secondaryPointerKey)
 
override bool SecondaryPointerKeyUp => KeyUp(secondaryPointerKey)
 
override bool SecondKeyPressed => Input.GetKey(secondKey)
 
- Public Attributes inherited from MeadowGames.MakeItFlow.InputManager
bool useSecondKeyForMultiSelection = true
 
bool selectOnDrag = true
 
bool dragAllSelected = true
 

Additional Inherited Members

- Static Public Attributes inherited from MeadowGames.MakeItFlow.InputManager
static EventsHandler eventsHandler
 
- Properties inherited from MeadowGames.MakeItFlow.InputManager
static InputManager Instance [get]
 
abstract bool PointerKeyPressed [get]
 
abstract bool PointerKeyDown [get]
 
abstract bool PointerKeyUp [get]
 
abstract bool SecondaryPointerKeyPressed [get]
 
abstract bool SecondaryPointerKeyDown [get]
 
abstract bool SecondaryPointerKeyUp [get]
 
abstract bool SecondKeyPressed [get]
 
abstract Vector3 ScreenPointerPosition [get]
 
abstract MFSelectEnum SelectType [get]