From 9716a9b934f3fc9205885ef6fbc5e799ef0dcaab Mon Sep 17 00:00:00 2001 From: jaysunxiao Date: Sun, 12 Dec 2021 20:19:00 +0800 Subject: [PATCH] doc --- doc/demo01_hello/5.node2d.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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