Added voice audio

This commit is contained in:
2024-02-16 15:30:29 +01:00
parent 91f5167d6a
commit 89d730f0ae
13 changed files with 86 additions and 49 deletions

View File

@ -3,10 +3,12 @@ extends Node
var state: StateComponent
var animation: AnimationComponent
var voice: VoiceComponent
func _enter_tree():
state = get_parent().get_node("State") as StateComponent
animation = get_parent().get_node("Animation") as AnimationComponent
voice = get_parent().get_node("Voice") as VoiceComponent
state.current = StateComponent.State.Skill
func end():