diff --git a/doc/demo01_hello/5.node2d.md b/doc/demo01_hello/5.node2d.md index 3ee6990..9d9d05b 100644 --- a/doc/demo01_hello/5.node2d.md +++ b/doc/demo01_hello/5.node2d.md @@ -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