MCPcopy Create free account
hub / github.com/TanTanDev/runity / InputKeyJustPressed

Method InputKeyJustPressed

unity/Runity/World.cs:55–57  ·  view source on GitHub ↗
(UnityEngine.KeyCode a_key)

Source from the content-addressed store, hash-verified

53 }
54
55 public bool InputKeyJustPressed(UnityEngine.KeyCode a_key) {
56 return UnityEngine.Input.GetKeyDown(a_key);
57 }
58
59 public bool InputKeyJustReleased(UnityEngine.KeyCode a_key) {
60 return UnityEngine.Input.GetKeyUp(a_key);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected