Explorar el Código

:beetle: Add exported variable

Was reproducing the bug in inspector only.
DricomDragon hace 2 años
padre
commit
d0233b8b32
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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)