Update projects to Godot 3.5 (#827)

This commit is contained in:
M o t H
2023-01-23 18:24:56 +01:00
committed by GitHub
parent 4357b5b620
commit 9e68af38d9
332 changed files with 1034 additions and 904 deletions

View File

@@ -1,8 +1,10 @@
tool
extends Node2D
var heart = preload("res://addons/custom_node/heart.png")
func _draw():
draw_texture(heart, -heart.get_size() / 2)

View File

@@ -1,6 +1,7 @@
tool
extends EditorPlugin
func _enter_tree():
# When this plugin node enters tree, add the custom type
add_custom_type("Heart", "Node2D", preload("res://addons/custom_node/heart.gd"), preload("res://addons/custom_node/heart_icon.png"))