☰
Debian Codegraph
@
4.6.3+ds-2
/
/
modules
/
gdscript
/
tests
/
scripts
/
runtime
/
features
/
property_with_operator_assignment.gd
☽
☼
modules/gdscript/tests/scripts/runtime/features/property_with_operator_assignment.gd
code
plain
raw
Expat
2014-present, Godot Engine contributors; 2007-2014, Juan Linietsky, Ariel Manzur
debian/copyright
1
#GDTEST_OK
2
var prop: int = 0:
3
get:
4
return prop
5
set(value):
6
prop = value % 7
7
8
func test():
9
for i in 7:
10
prop += 1
11
print(prop)