SlimeoosOdyssey/godot/tests/test_grape_man_animation.gd

14 lines
199 B
GDScript

extends Node3D
func _on_pickup_pressed():
$grape_man.pickup()
func _on_drop_pressed():
$grape_man.drop()
func _on_idle_pressed():
$grape_man.idle()
func _on_walk_pressed():
$grape_man.walk()