Преглед на файлове

:beetle: Add exported variable

Was reproducing the bug in inspector only.
DricomDragon преди 2 години
родител
ревизия
d0233b8b32
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  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)