Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DialogueRunner and InMemoryVariableStorage are not marked as [GlobalClass] #81

Closed
misha-cilantro opened this issue Feb 15, 2025 · 3 comments

Comments

@misha-cilantro
Copy link

Still fairly new to Godot, but this tag seems to be required in order for the class to be a recognized type in gdscript. This was the case in the previous Godot plugin, but is not here. Not sure if this was intentional or not, but it confused me when upgrading.

@dogboydog
Copy link
Collaborator

Hi what do you mean by previous godot plugin? Just before the 0.30 beta?

I could add the attributes back. However users have reported some issues on Discord where referring to C# types directly in GDScript @exports caused some problems like the values being cleared out IIRC.

@dogboydog
Copy link
Collaborator

Added in a new push to #75

@misha-cilantro
Copy link
Author

Yeah, the pre-0.3 branch. Hmm yeah I don't think I've run into that issue, but I could see that being a reason to leave it out. I'm not pressed either way, I just wasn't sure if it was intentional. I could see @export's getting clearer out if/when the C# rebuilds 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants