mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-16 05:20:06 +01:00
9 lines
207 B
GDScript
9 lines
207 B
GDScript
extends OptionButton
|
|
|
|
|
|
@onready var cube_animation: AnimationPlayer = $"../../AnimationPlayer"
|
|
|
|
|
|
func _on_option_button_item_selected(index: int) -> void:
|
|
cube_animation.process_mode = index as ProcessMode
|