Basic player controls and aiming
This commit is contained in:
parent
56695d303e
commit
f5999da412
114 changed files with 6611 additions and 2 deletions
8
addons/godot_state_charts/debug_util.gd
Normal file
8
addons/godot_state_charts/debug_util.gd
Normal file
|
@ -0,0 +1,8 @@
|
|||
## Returns the path of a node in the scene tree
|
||||
## Returns the name of the node if the node is not in the tree.
|
||||
static func path_of(node: Node) -> String:
|
||||
if node == null:
|
||||
return ""
|
||||
if !node.is_inside_tree():
|
||||
return node.name + " (not in tree)"
|
||||
return str(node.get_path())
|
Reference in a new issue