-
-
Notifications
You must be signed in to change notification settings - Fork 163
C# Wrapper #375
Copy link
Copy link
Open
Labels
🌺 enhancementNew feature or requestNew feature or request🧪 unit-tests-requiredRelated to writing unit tests.Related to writing unit tests.
Metadata
Metadata
Assignees
Labels
🌺 enhancementNew feature or requestNew feature or request🧪 unit-tests-requiredRelated to writing unit tests.Related to writing unit tests.
Currently to call Beehave methods in C# you have to do something like this:
Currently to use beehave in a C# project requires calling
GetNode("node").Call("xxx")with strings functions names. This is prone to causing runtime issues, for example if beehave changed a method this would still compile in C#.One such example:
https://github.com/Portponky/better-terrain/blob/main/addons/better-terrain/BetterTerrain.cs
This also heavily eases use within IDE, because through this wrapper we can use known type declarations instead of everything coming through as GodotObjects.