Meta SDK2 Beta  2.7.0
Meta.UnityKeyboardWrapper Class Reference

Wraps the Unity Input system's keyboard functions More...

Inheritance diagram for Meta.UnityKeyboardWrapper:
Meta.IKeyboardWrapper

Public Member Functions

bool GetKey (KeyCode keyCode)
 Is a key pressed? More...
 
bool GetKeyUp (KeyCode keyCode)
 Has a key just been released? More...
 
bool GetKeyDown (KeyCode keyCode)
 Has a key just been pressed? More...
 

Detailed Description

Wraps the Unity Input system's keyboard functions

Member Function Documentation

◆ GetKey()

bool Meta.UnityKeyboardWrapper.GetKey ( KeyCode  keyCode)
inline

Is a key pressed?

Parameters
keyCode
Returns

Implements Meta.IKeyboardWrapper.

◆ GetKeyDown()

bool Meta.UnityKeyboardWrapper.GetKeyDown ( KeyCode  keyCode)
inline

Has a key just been pressed?

Parameters
keyCode
Returns

Implements Meta.IKeyboardWrapper.

◆ GetKeyUp()

bool Meta.UnityKeyboardWrapper.GetKeyUp ( KeyCode  keyCode)
inline

Has a key just been released?

Parameters
keyCode
Returns

Implements Meta.IKeyboardWrapper.