Skip to content

Commit fc6bc8d

Browse files
authored
Merge pull request #212 from Tiagobuzzz/codex/escolher-entre-unity-e-unreal
2 parents 1e7cea2 + fe767bb commit fc6bc8d

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ For help and community discussions join our [support channel](https://example.co
2121

2222
See [docs/unity_integration.md](docs/unity_integration.md) for instructions on building a DLL and importing it into a Unity project.
2323

24+
## Unreal Engine Integration
25+
26+
Projects that rely on C# plugins for Unreal Engine can follow the steps in [docs/unreal_integration.md](docs/unreal_integration.md) to use the library with Unreal.
27+
2428
## Versioning
2529

2630
This project follows [Semantic Versioning](https://semver.org/). Public releases

docs/unreal_integration.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Unreal Engine Integration
2+
3+
While UltraWorldAI targets .NET 8 and is primarily used with Unity, it can also integrate with Unreal Engine via a C# plugin such as UnrealCLR.
4+
5+
1. Build the UltraWorldAI library in Release mode:
6+
```bash
7+
dotnet build -c Release src/UltraWorldAI/UltraWorldAI.csproj
8+
```
9+
2. Copy the generated `UltraWorldAI.dll` from `src/UltraWorldAI/bin/Release/net8.0/` into your Unreal project's managed plugin folder (e.g. `Plugins/UnrealCLR/Managed`).
10+
3. Ensure your C# plugin references `UltraWorldAI.dll` so Unreal can invoke the library.
11+
4. In your Unreal scripts, you can now call methods under the `UltraWorldAI` namespace.
12+
13+
When updating the library, rebuild the DLL and replace it in your Unreal project. Alternatively, copy the source files from `src/UltraWorldAI` into the plugin's managed folder if you prefer the plugin to compile them directly.

0 commit comments

Comments
 (0)