Improved component system

This commit is contained in:
2024-02-15 16:28:27 +01:00
parent 8de91eaba1
commit b439919ad0
19 changed files with 89 additions and 99 deletions

View File

@ -17,7 +17,7 @@ var _current: State
func _ready():
current = State.Idle
movement = owner.find_child("Movement")
movement = owner.get_node("Movement")
func _process(_delta):
if current == State.Skill: