pull/2/head
jaysunxiao 2022-01-13 20:57:33 +08:00
parent f159790fa1
commit 120c9cb3cc
1 changed files with 2 additions and 7 deletions

View File

@ -2,11 +2,6 @@ extends Node2D
func _ready():
createNodeByScript()
pass
func createNodeByScript():
# new一个Sprite节点
var sprite = Sprite.new()
@ -23,8 +18,8 @@ func createNodeByScript():
# 添加到当前的场景中
add_child(sprite)
pass # Replace with function body.
pass
func _process(delta):