Skip to content

Gdnative cpp example: variable visibility #3359

@jumpy88

Description

@jumpy88

I think I've found a little error in gdnative-cpp-example.rst. 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:manualIssues and PRs related to the Manual/Tutorials section of the documentationbug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions