Added voice audio
This commit is contained in:
@ -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():
|
||||
|
Reference in New Issue
Block a user