10 lines
153 B
GDScript3
10 lines
153 B
GDScript3
|
extends StateBase
|
||
|
|
||
|
|
||
|
## 玩家节点
|
||
|
@export var player:Player
|
||
|
func enter() -> void:
|
||
|
##运行父类方法
|
||
|
super.enter()
|
||
|
player.people.is_moving = true
|