modules/gdscript/tests/scripts/analyzer/features/assign_to_native_enum_property.gd
raw| 1 | # https://github.com/godotengine/godot/issues/72501 |
| 2 | extends Node |
| 3 | |
| 4 | func test(): |
| 5 | prints("before", process_mode) |
| 6 | process_mode = PROCESS_MODE_PAUSABLE |
| 7 | prints("after", process_mode) |
| 8 | |
| 9 | var node := Node.new() |
| 10 | add_child(node) |
| 11 | prints("before", node.process_mode) |
| 12 | node.process_mode = PROCESS_MODE_PAUSABLE |
| 13 | prints("after", node.process_mode) |