Feat/14 movement overhaul #20
@@ -123,7 +123,7 @@ func _find_skeleton(node: Node) -> Skeleton3D:
|
||||
if node is Skeleton3D:
|
||||
return node
|
||||
for child in node.get_children():
|
||||
var result = find_skeleton(child)
|
||||
var result = _find_skeleton(child)
|
||||
if result:
|
||||
return result
|
||||
return null
|
||||
@@ -132,7 +132,7 @@ func _find_animation_player(node: Node) -> AnimationPlayer:
|
||||
if node is AnimationPlayer:
|
||||
return node
|
||||
for child in node.get_children():
|
||||
var result = find_animation_player_recursive(child)
|
||||
var result = _find_animation_player(child)
|
||||
if result:
|
||||
return result
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user