☰
Debian Codegraph
@
4.6.3+ds-2
/
/
modules
/
gdscript
/
tests
/
scripts
/
analyzer
/
features
/
property_functions.gd
☽
☼
modules/gdscript/tests/scripts/analyzer/features/property_functions.gd
code
plain
raw
Expat
2014-present, Godot Engine contributors; 2007-2014, Juan Linietsky, Ariel Manzur
debian/copyright
1
var _prop = 1
2
var prop:
3
get = get_prop, set = set_prop
4
5
func get_prop():
6
return _prop
7
8
func set_prop(value):
9
_prop = value
10
11
func test():
12
print(prop)
13
14
prop = 2
15
16
print(prop)