Godot Version
4.7
Question
Hi,
do you know any extension i could use to boost my godot if i am a csharp user ?
For example this looks very helpfull Introducing the GodotEx C# Extension Library but it seems like it does not exist anymore…
4.7
Hi,
do you know any extension i could use to boost my godot if i am a csharp user ?
For example this looks very helpfull Introducing the GodotEx C# Extension Library but it seems like it does not exist anymore…
What do you consider “boosting your godot”?
As long as you have a proper IDE for C#, you can use the entire NuGet package ecosystem.
From what I can tell, the library you linked has some basic helper methods and some extensions for specific built-in classes. These are things you can easily make yourself, as an example, it was mentioned that the library contains a “GetChildrenOfType” function, which you can make like so:
public static IEnumerable<T> GetAllChildrenOfType<T>(Node nodeToLookThrough) where T : Node
{
List<T> nodes = new();
foreach (Node child in nodeToLookThrough.GetChildren())
{
if (child is T node)
{
nodes.Add(node);
}
if (child.GetChildren().Count > 0)
{
nodes.AddRange(GetAllChildrenOfType<T>(child));
}
}
return nodes;
}
By boosting i mean for example, having more primitives like icosphere.
Being able subdivide any mesh also.
These are 2 things for example i would like to be able to do.
Having tools like giving a cube a sphere shape… In fact i feel like godot has not that much possibilities to generate things easily and quickly like in Blender for example…
These things aren’t really specific to C# though, you can use normal GDScript tools and utilities too.