Describe the bug
When using C# autoloads in dialogue editor, intellisense does not show properties of the class.
Affected version
- Dialogue Manager version: 3.10.4
- Godot version: 4.6.3
To Reproduce
Steps to reproduce the behavior:
- Create a C# autoload with basic exported properties (not fields)
- Attempt to type out the name of the property in the dialogue editor
Expected behavior
Intellisense should show properties alongside fields
Screenshots
| Editor |
Script |
 |
 |
*only the source generated getter/setter methods are shown, not the property itself. This is another minor related issue, see #1237.
Fix
Simply adding property member type to the GetMembersForScript method should fix it.
That said, I think a more comprehensive fix would be to also merge the values from get_script_property_list, since this would also account for tool script with custom values.
Describe the bug
When using C# autoloads in dialogue editor, intellisense does not show properties of the class.
Affected version
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Intellisense should show properties alongside fields
Screenshots
*only the source generated getter/setter methods are shown, not the property itself. This is another minor related issue, see #1237.
Fix
Simply adding property member type to the
GetMembersForScriptmethod should fix it.That said, I think a more comprehensive fix would be to also merge the values from
get_script_property_list, since this would also account for tool script with custom values.