Welcome to the forums @Zodiacx10!
The _get
and _set
functions are primarily used with the get_property_list
function in the C++ code, as the properties introduced through said function rely on both _get
and _set
. In _get
, the second argument will be overridden with whatever the value has been retrieved, based on what I know of the C++ code.
For GDScript/C#, it is probably better to either access the properties directly, or use the getter/setter functions designed specifically for the property you are wanting.