godotengine / godotengine/godot-docs
Gdnative cpp example: variable visibility
Open
area:manual
bug
- Dominant language
- reStructuredText
- Stars
- 5.7k
- Forks
- 3.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 25
Description
I think I've found a little error in [gdnative-cpp-example.rst](https://github.com/godotengine/godot-docs/blob/master/tutorials/plugins/gdnative/gdnative-cpp-example.rst#adding-properties). When showing how to create a new property without getter and setter, its visibility is set to private
`
...
private:
float time_passed;
float amplitude;
...
`
but this prevent the Godot interface from accessing the variable itself (which then is not visible in the inspector).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.