| 1 |
extends Node |
| 2 |
|
| 3 |
@export var test_type_1 := TYPE_BOOL |
| 4 |
@export var test_type_2 := Variant.Type.TYPE_BOOL |
| 5 |
@export var test_type_3: Variant.Type |
| 6 |
|
| 7 |
@export var test_side_1 := SIDE_RIGHT |
| 8 |
@export var test_side_2 := Side.SIDE_RIGHT |
| 9 |
@export var test_side_3: Side |
| 10 |
|
| 11 |
@export var test_axis_1 := Vector3.AXIS_Y |
| 12 |
@export var test_axis_2 := Vector3.Axis.AXIS_Y |
| 13 |
@export var test_axis_3: Vector3.Axis |
| 14 |
|
| 15 |
@export var test_mode_1 := Node.PROCESS_MODE_ALWAYS |
| 16 |
@export var test_mode_2 := Node.ProcessMode.PROCESS_MODE_ALWAYS |
| 17 |
@export var test_mode_3: Node.ProcessMode |
| 18 |
|
| 19 |
func test(): |
| 20 |
for property in get_property_list(): |
| 21 |
if str(property.name).begins_with("test_"): |
| 22 |
Utils.print_property_extended_info(property, self) |
| 23 |
|
| 24 |
func test_no_exec(): |
| 25 |
# GH-99309 |
| 26 |
var sprite: Sprite3D = $Sprite3D |
| 27 |
sprite.axis = Vector3.AXIS_Y # No warning. |
| 28 |
sprite.set_axis(Vector3.AXIS_Y) # No warning. |