SlimeoosOdyssey/godot/tests/test_slime_animation.gd

9 lines
98 B
GDScript

extends Node3D
func _on_idle_pressed():
$slime.idle()
func _on_walk_pressed():
$slime.walk()