util: add class
This commit is contained in:
parent
bc88fed830
commit
20d1f62a7d
1 changed files with 4 additions and 0 deletions
4
util/util.gd
Normal file
4
util/util.gd
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
class_name Util extends Node
|
||||
|
||||
static func input_action_string(action):
|
||||
return InputMap.action_get_events(action)[0].as_text()
|
||||
Loading…
Add table
Add a link
Reference in a new issue