Class KeyboardEventBase<T>
Inheritance
KeyboardEventBase<T>
Assembly: UnityEngine.dll
Syntax
public abstract class KeyboardEventBase<T> : EventBase<T>, IDisposable, IKeyboardEvent where T : KeyboardEventBase<T>, new()
Type Parameters
Constructors
|
Improve this Doc
View Source
KeyboardEventBase()
Declaration
protected KeyboardEventBase()
Properties
|
Improve this Doc
View Source
actionKey
Declaration
public bool actionKey { get; }
Property Value
|
Improve this Doc
View Source
altKey
Declaration
public bool altKey { get; }
Property Value
|
Improve this Doc
View Source
character
Declaration
public char character { get; protected set; }
Property Value
|
Improve this Doc
View Source
commandKey
Declaration
public bool commandKey { get; }
Property Value
|
Improve this Doc
View Source
ctrlKey
Declaration
public bool ctrlKey { get; }
Property Value
|
Improve this Doc
View Source
keyCode
Declaration
public KeyCode keyCode { get; protected set; }
Property Value
|
Improve this Doc
View Source
modifiers
Declaration
public EventModifiers modifiers { get; protected set; }
Property Value
|
Improve this Doc
View Source
shiftKey
Declaration
public bool shiftKey { get; }
Property Value
Methods
|
Improve this Doc
View Source
GetPooled(Char, KeyCode, EventModifiers)
Declaration
public static T GetPooled(char c, KeyCode keyCode, EventModifiers modifiers)
Parameters
Returns
|
Improve this Doc
View Source
GetPooled(Event)
Declaration
public static T GetPooled(Event systemEvent)
Parameters
Type |
Name |
Description |
Event |
systemEvent |
|
Returns
|
Improve this Doc
View Source
Init()
Declaration
protected override void Init()
Overrides
UnityEngine.Experimental.UIElements.EventBase<T>.Init()
Implements
Extension Methods