Method | Description | |
---|---|---|
IsClicked ( |
Check if a combination of keys have been clicked (i.e. has been pressed for exactly 1 frame).
|
|
IsClicked ( Keys key ) : bool |
Check if a key has been clicked (i.e. has been pressed for exactly 1 frame).
|
|
IsHeld ( |
Check if a combination of keys have been pressed for any number of keys.
|
|
IsHeld ( Keys key ) : bool |
Check if a key has been pressed for any number of keys.
|
|
IsHeldFor ( |
Check if a combination of keys have been pressed for exactly the given number of frames.
|
|
IsHeldFor ( Keys key, int frames ) : bool |
Check if a key has been pressed for exactly the given number of frames.
|
|
IsHeldForAtleast ( |
Check if a combination of keys have been pressed for at least the given number of frames.
|
|
IsHeldForAtleast ( Keys key, int frames ) : bool |
Check if a key has been pressed for at least the given number of frames.
|
|
IsIdleFor ( int frames ) : bool |
Check if the keyboard has been idle for exactly the given number of frames.
|
|
IsIdleForAtleast ( int frames ) : bool |
Check if the keyboard has been idle for at least the given number of frames.
|
|
IsReleased ( |
Check if a combination of keys have been released (i.e. has been unpressed for exactly 1 frame).
|
|
IsReleased ( Keys key ) : bool |
Check if a key has been released (i.e. has been unpressed for exactly 1 frame).
|
|
IsUnheld ( |
Check if a combination of keys have been unpressed for any number of frames.
|
|
IsUnheld ( Keys key ) : bool |
Check if a key has been unpressed for any number of frames.
|
|
IsUnheldFor ( |
Check if a combination of keys have been unpressed for exactly the given number of frames.
|
|
IsUnheldFor ( Keys key, int frames ) : bool |
Check if a key has been unpressed for exactly the given number of frames.
|
|
IsUnheldForAtleast ( |
Check if a combination of keys have been unpressed for at least the given number of frames.
|
|
IsUnheldForAtleast ( Keys key, int frames ) : bool |
Check if a key has been unpressed for at least the given number of frames.
|
Method | Description | |
---|---|---|
KeyboardInput ( ) : System.Collections.Generic | ||
Update ( ) : void |
public IsClicked ( |
||
keys | ||
return | bool |
public IsHeldFor ( |
||
keys | ||
frames | int | |
return | bool |
public IsHeldFor ( Keys key, int frames ) : bool | ||
key | Keys | |
frames | int | |
return | bool |
public IsHeldForAtleast ( |
||
keys | ||
frames | int | |
return | bool |
public IsHeldForAtleast ( Keys key, int frames ) : bool | ||
key | Keys | |
frames | int | |
return | bool |
public IsIdleForAtleast ( int frames ) : bool | ||
frames | int | |
return | bool |
public IsReleased ( |
||
keys | ||
return | bool |
public IsUnheld ( |
||
keys | ||
return | bool |
public IsUnheldFor ( |
||
keys | ||
frames | int | |
return | bool |
public IsUnheldFor ( Keys key, int frames ) : bool | ||
key | Keys | |
frames | int | |
return | bool |
public IsUnheldForAtleast ( |
||
keys | ||
frames | int | |
return | bool |
public IsUnheldForAtleast ( Keys key, int frames ) : bool | ||
key | Keys | |
frames | int | |
return | bool |