2023-02-09 16:42:22 +01:00
|
|
|
extends Node
|
|
|
|
|
2023-12-19 18:56:30 +01:00
|
|
|
@export_enum("A", "B", "C") var test_1
|
|
|
|
@export_enum("A", "B", "C",) var test_2
|
2023-02-09 16:42:22 +01:00
|
|
|
|
|
|
|
@export_enum(
|
|
|
|
"A",
|
|
|
|
"B",
|
|
|
|
"C"
|
2023-12-19 18:56:30 +01:00
|
|
|
) var test_3
|
2023-02-09 16:42:22 +01:00
|
|
|
|
|
|
|
@export_enum(
|
|
|
|
"A",
|
|
|
|
"B",
|
|
|
|
"C",
|
2023-12-19 18:56:30 +01:00
|
|
|
) var test_4
|
2023-02-09 16:42:22 +01:00
|
|
|
|
|
|
|
@export
|
2023-12-19 18:56:30 +01:00
|
|
|
var test_5: int
|
2023-02-09 16:42:22 +01:00
|
|
|
|
|
|
|
@export()
|
2023-12-19 18:56:30 +01:00
|
|
|
var test_6: int
|
2023-02-09 16:42:22 +01:00
|
|
|
|
2023-12-19 18:56:30 +01:00
|
|
|
@export() var test_7: int = 42
|
|
|
|
@warning_ignore("onready_with_export") @onready @export var test_8: int = 42
|
|
|
|
@warning_ignore("onready_with_export") @onready() @export() var test_9: int = 42
|
2023-02-09 16:42:22 +01:00
|
|
|
|
|
|
|
@warning_ignore("onready_with_export")
|
|
|
|
@onready
|
|
|
|
@export
|
2023-12-19 18:56:30 +01:00
|
|
|
var test_10: int = 42
|
2023-02-09 16:42:22 +01:00
|
|
|
|
|
|
|
@warning_ignore("onready_with_export")
|
|
|
|
@onready()
|
|
|
|
@export()
|
2023-12-19 18:56:30 +01:00
|
|
|
var test_11: int = 42
|
2023-02-09 16:42:22 +01:00
|
|
|
|
|
|
|
@warning_ignore("onready_with_export")
|
|
|
|
@onready()
|
|
|
|
@export()
|
|
|
|
|
2023-12-19 18:56:30 +01:00
|
|
|
var test_12: int = 42
|
2023-02-09 16:42:22 +01:00
|
|
|
|
|
|
|
func test():
|
|
|
|
for property in get_property_list():
|
2023-12-19 18:56:30 +01:00
|
|
|
if str(property.name).begins_with("test_"):
|
|
|
|
Utils.print_property_extended_info(property, self)
|