mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
Pause demo: Showcase new pause features in Godot 4.0
This commit is contained in:
7
misc/pause/process_mode.gd
Normal file
7
misc/pause/process_mode.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
extends OptionButton
|
||||
|
||||
@onready var cube_animation = $"../../AnimationPlayer"
|
||||
|
||||
|
||||
func _on_option_button_item_selected(index):
|
||||
cube_animation.process_mode = index
|
||||
Reference in New Issue
Block a user