20 lines
387 B
GDScript3
20 lines
387 B
GDScript3
|
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,# 关门
|
||
|
}
|