mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
8 lines
161 B
GDScript
8 lines
161 B
GDScript
extends OptionButton
|
|
|
|
@onready var cube_animation = $"../../AnimationPlayer"
|
|
|
|
|
|
func _on_option_button_item_selected(index):
|
|
cube_animation.process_mode = index
|