godot-psd-training/UI/lcb_2.gd

20 lines
387 B
GDScript3
Raw Normal View History

2024-04-15 14:54:06 +08:00
extends Window
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
## 旋钮的状态枚举
enum KNOB_STATE{
isolate = 0,# 隔离
auto = 1,# 自动
open = 2,# 开门
close = 3,# 关门
}