GodotGameExtensions is a small set of .NET 8 extension libraries split into general-purpose helpers and Godot-specific helpers.
| Package | Description | Main namespaces |
|---|---|---|
CoreBaseExtensions |
Dependency-free collection, primitive, validation, and flow helpers. | CoreBaseExtensions.Collections, CoreBaseExtensions.Flow, CoreBaseExtensions.Primitives, CoreBaseExtensions.Validation |
GodotBaseExtensions |
Godot 4 C# helpers for nodes, UI, drawing, geometry, physics, input, scenes, and viewports. | GodotBaseExtensions |
Install the core helpers:
dotnet add package CoreBaseExtensionsInstall the Godot helpers:
dotnet add package GodotBaseExtensionsAdd the namespaces for the package you use:
using CoreBaseExtensions.Collections;
using CoreBaseExtensions.Flow;
using CoreBaseExtensions.Primitives;
using CoreBaseExtensions.Validation;
using GodotBaseExtensions;CoreBaseExtensions can be used from any .NET 8 project. GodotBaseExtensions targets Godot 4 C# projects using Godot.NET.Sdk.
Packages are versioned from Directory.Build.props. Tag-based NuGet publishing should create a git tag for the package version and publish packed artifacts from CI.
Recommended tag format:
v0.1.0
Recommended pack command:
dotnet pack GodotGameExtensions.sln --configuration ReleaseRecommended publish command:
dotnet nuget push "**/*.nupkg" --api-key <NUGET_API_KEY> --source https://api.nuget.org/v3/index.json