Class GetKey
Waits for any key to be pressed and returns the key via the given delegate.
Assembly: QFSW.QC.dll
Syntax
public class GetKey : ICommandAction
Constructors
GetKey(Action<KeyCode>)
Declaration
public GetKey(Action<KeyCode> onKey)
Parameters
Type |
Name |
Description |
Action<UnityEngine.KeyCode> |
onKey |
The action to perform when a key is pressed.
|
Properties
IsFinished
Declaration
public bool IsFinished { get; }
Property Value
StartsIdle
Declaration
public bool StartsIdle { get; }
Property Value
Methods
Finalize(ActionContext)
Declaration
public void Finalize(ActionContext context)
Parameters
Start(ActionContext)
Declaration
public void Start(ActionContext context)
Parameters
Implements
Extension Methods