Godot Extra provides a set of extension libraries for Godot in C#.
Currently available extension libraries:
Basic extension library for Godot:
- Extension methods for Godot classes such as InputEvent, Node, Transform3D, etc.
- Utilities for node path resolving, packed scene instantiation, raycast, input handling, etc.
Asynchronous extension library for Godot:
- Awaitables for common Godot object signals such as Timer.Timeout and SceneTree.ProcessFrame
CancellableSignalAwaiter
that wraps the Godot SignalAwaiter, provides functionality similar to that of ToSignal() while also accepting a CancellationToken
Hosting extension library for Godot:
- A
Host
node that provides hosting functionalities with ServiceProvider - Dependency injection through the above
Host
Choose the package(s) you need and run the following command(s) to install the nuget package(s).
dotnet add package GodotEx
dotnet add package GodotEx.Async
dotnet add package GodotEx.Hosting
Please refer to this page for a detailed documentation on all available extension libraries.
Distributed under the MIT License. Copyright (c) 2024 altamkp.