mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
GDScript: Fix non-global class export
This commit is contained in:
@@ -2,7 +2,8 @@ class_name ExportVariableTest
|
||||
extends Node
|
||||
|
||||
const Utils = preload("../../utils.notest.gd")
|
||||
const PreloadedScript = preload("./export_variable.notest.gd")
|
||||
const PreloadedGlobalClass = preload("./export_variable_global.notest.gd")
|
||||
const PreloadedUnnamedClass = preload("./export_variable_unnamed.notest.gd")
|
||||
|
||||
# Built-in types.
|
||||
@export var test_weak_int = 1
|
||||
@@ -24,7 +25,8 @@ const PreloadedScript = preload("./export_variable.notest.gd")
|
||||
|
||||
# Global custom classes.
|
||||
@export var test_global_class: ExportVariableTest
|
||||
@export var test_preloaded_script: PreloadedScript
|
||||
@export var test_preloaded_global_class: PreloadedGlobalClass
|
||||
@export var test_preloaded_unnamed_class: PreloadedUnnamedClass # GH-93168
|
||||
|
||||
# Arrays.
|
||||
@export var test_array: Array
|
||||
|
||||
Reference in New Issue
Block a user