pull/2/head
jaysunxiao 2021-12-12 20:19:00 +08:00
parent 43d8d57ae4
commit 9716a9b934
1 changed files with 2 additions and 2 deletions

View File

@ -40,13 +40,13 @@ process方法执行的优先级对于子节点依然有效
```
```
# Called when the node enters the scene tree for the first time.
# 脚本初始化会首先调用这个方法会在_process()方法之前调用
func _ready():
# get_tree().paused = true
pass
var count = 0
# Called every frame. 'delta' is the elapsed time since the previous frame.
# 每一帧都会调用这个方法
func _process(delta):
count = count + 1