Sfoglia il codice sorgente

:beetle: Add exported variable

Was reproducing the bug in inspector only.
DricomDragon 2 anni fa
parent
commit
d0233b8b32
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      BugReport_EditorOversizedCustomIcon/CustomNode.gd

+ 5 - 0
BugReport_EditorOversizedCustomIcon/CustomNode.gd

@@ -1,3 +1,8 @@
 @icon("res://icon.svg")
 class_name CustomNode
 extends Node2D
+
+@export var exp_var: String = "Hello"
+
+func _ready():
+	print("Exported var : ", exp_var)