Files
godot-demo-projects/misc/pause/process_mode.gd
2022-04-03 04:41:45 -05:00

8 lines
161 B
GDScript

extends OptionButton
@onready var cube_animation = $"../../AnimationPlayer"
func _on_option_button_item_selected(index):
cube_animation.process_mode = index