2023-12-19 18:56:30 +01:00
|
|
|
const Utils = preload("../../utils.notest.gd")
|
2023-01-29 13:07:24 +01:00
|
|
|
|
2023-12-19 18:56:30 +01:00
|
|
|
@export_enum("Red", "Green", "Blue") var test_untyped
|
2023-01-29 13:07:24 +01:00
|
|
|
|
2023-12-19 18:56:30 +01:00
|
|
|
@export_enum("Red", "Green", "Blue") var test_weak_int = 0
|
|
|
|
@export_enum("Red", "Green", "Blue") var test_weak_string = ""
|
2023-01-29 13:07:24 +01:00
|
|
|
|
2023-12-19 18:56:30 +01:00
|
|
|
@export_enum("Red", "Green", "Blue") var test_hard_int: int
|
|
|
|
@export_enum("Red", "Green", "Blue") var test_hard_string: String
|
|
|
|
|
|
|
|
@export_enum("Red:10", "Green:20", "Blue:30") var test_with_values
|
2023-01-29 13:07:24 +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)
|