godot-psd-training/sceen/people/Idle.gd
2024-06-17 13:15:00 +08:00

10 lines
154 B
GDScript

extends StateBase
## 玩家节点
@export var player:Player
func enter() -> void:
##运行父类方法
super.enter()
player.people.is_moving = false