retrace/Characters/Player/Footsteps.gd

10 lines
105 B
GDScript3
Raw Normal View History

extends Spatial
onready var steps = [
get_node("Footstep1")
]
func play_footstep():
steps[0].play()