摘要: extends Button # Called when the node enters the scene tree for the first time. func _ready(): pass # Replace with function body. # Called every frame 阅读全文
posted @ 2024-10-29 21:02 eva1024 阅读(4) 评论(0) 推荐(0) 编辑
摘要: extends Sprite2D func _ready(): # 设置初始颜色为红色 modulate = Color(1, 0, 0) # 红色 # 创建并配置 Tween var tween = create_tween() # 目标颜色为蓝色 var target_color = Color 阅读全文
posted @ 2024-10-29 06:28 eva1024 阅读(3) 评论(0) 推荐(0) 编辑