成功编译C#插件 #12

添加了C#二进制相关文件的忽略
This commit is contained in:
2025-10-25 05:22:01 +08:00
parent 580e7cf72b
commit fc1078f20c
5 changed files with 70 additions and 0 deletions

12
.gitignore vendored
View File

@ -77,3 +77,15 @@ Plugins/**/Intermediate/*
DerivedDataCache/* DerivedDataCache/*
BusyRabbit.uproject.DotSettings.user BusyRabbit.uproject.DotSettings.user
Plugins/SpinePlugin/Script/SpinePlugin.Glue
Script/ManagedBusyRabbit/bin
Script/ManagedBusyRabbit/obj
Script/ManagedBusyRabbit/Properties
Script/BusyRabbit.Glue/bin
Script/BusyRabbit.Glue/BusyRabbit
Script/BusyRabbit.Glue/obj
Script/BusyRabbit.Glue/Properties
Script/BusyRabbit.Glue/AssetIds.cs
Script/BusyRabbit.Glue/GameplayTags.cs
Script/BusyRabbit.Glue/TraceChannel.cs

1
Plugins/UnrealSharp Submodule

Submodule Plugins/UnrealSharp added at a5e501bc43

View File

@ -0,0 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<CopyLocalLockFileAssembliesName>true</CopyLocalLockFileAssembliesName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>
<ItemGroup>
<Reference Include="UnrealSharp">
<HintPath>..\..\Plugins\UnrealSharp\Binaries\Managed\net9.0\UnrealSharp.dll</HintPath>
</Reference>
<Reference Include="UnrealSharp.Core">
<HintPath>..\..\Plugins\UnrealSharp\Binaries\Managed\net9.0\UnrealSharp.Core.dll</HintPath>
</Reference>
<Analyzer Include="..\..\Plugins\UnrealSharp\Binaries\Managed\UnrealSharp.SourceGenerators.dll" />
<ProjectReference Include="..\..\Plugins\SpinePlugin\Script\SpinePlugin.Glue\SpinePlugin.Glue.csproj" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,16 @@
using UnrealSharp.Engine.Core.Modules;
namespace ManagedBusyRabbit;
public class FManagedBusyRabbit : IModuleInterface
{
public void StartupModule()
{
}
public void ShutdownModule()
{
}
}

View File

@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<CopyLocalLockFileAssembliesName>true</CopyLocalLockFileAssembliesName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<EnableDynamicLoading>true</EnableDynamicLoading>
</PropertyGroup>
<ItemGroup>
<Reference Include="UnrealSharp">
<HintPath>..\..\Plugins\UnrealSharp\Binaries\Managed\net9.0\UnrealSharp.dll</HintPath>
</Reference>
<Reference Include="UnrealSharp.Core">
<HintPath>..\..\Plugins\UnrealSharp\Binaries\Managed\net9.0\UnrealSharp.Core.dll</HintPath>
</Reference>
<Analyzer Include="..\..\Plugins\UnrealSharp\Binaries\Managed\UnrealSharp.SourceGenerators.dll" />
<ProjectReference Include="..\BusyRabbit.Glue\BusyRabbit.Glue.csproj" />
</ItemGroup>
</Project>