Cat-Lips / GodotSharp.SourceGenerators

C# source generators for the Godot Game Engine
MIT License
112 stars 10 forks source link

Add an implicit conversion for generated classes in SceneTree #28

Closed waldnercharles closed 1 year ago

waldnercharles commented 1 year ago

I'm not really sure what the repercussions of this change will be, but, I didn't like using .Get() explicitly. I'm assuming the worst that will happen is an error when the name of a property conflicts with a node's name, at which point the user will need to cast to the correct type, or use .Get()