Skip to content

Commit 44a39fc

Browse files
committed
add Unity.Netcode.Components project
1 parent e5f7e29 commit 44a39fc

File tree

4 files changed

+75
-0
lines changed

4 files changed

+75
-0
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ UnityProject/ProjectSettings/*
5757
/Unity.Netcode.Runtime/[Oo]bj/
5858
/Unity.Netcode.Runtime/[Dd]ist/
5959

60+
### Unity.Netcode.Components Project
61+
!/Unity.Netcode.Components/
62+
/Unity.Netcode.Components/[Bb]in/
63+
/Unity.Netcode.Components/[Oo]bj/
64+
/Unity.Netcode.Components/[Dd]ist/
65+
6066
# Explicit exceptions/ignores
6167
**.user
6268
!**.template.*.user
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Library</OutputType>
5+
6+
<RootNamespace></RootNamespace>
7+
<AssemblyName>Unity.Netcode.Components</AssemblyName>
8+
<TargetFramework>netstandard2.1</TargetFramework>
9+
<DefineConstants>UNITY_2021_1_OR_NEWER; UNITY_2021_2_OR_NEWER; UNITY_2022_3_OR_NEWER; UNITY_EDITOR; UNITY_INCLUDE_TESTS</DefineConstants>
10+
<Nullable>disable</Nullable>
11+
12+
<IsPackable>false</IsPackable>
13+
</PropertyGroup>
14+
15+
<ItemGroup>
16+
<InternalsVisibleTo Include="NetcodePatcher" />
17+
<InternalsVisibleTo Include="Unity.Netcode.Runtime" />
18+
</ItemGroup>
19+
20+
<!-- Runtime dependencies -->
21+
<ItemGroup>
22+
<Reference Include="Unity.Burst">
23+
<HintPath>$(ProjectDir)../UnityProject/Library/ScriptAssemblies/Unity.Burst.dll</HintPath>
24+
</Reference>
25+
<Reference Include="Unity.Collections">
26+
<HintPath>$(ProjectDir)../UnityProject/Library/ScriptAssemblies/Unity.Collections.dll</HintPath>
27+
</Reference>
28+
<Reference Include="Unity.Mathematics">
29+
<HintPath>$(ProjectDir)../UnityProject/Library/ScriptAssemblies/Unity.Mathematics.dll</HintPath>
30+
</Reference>
31+
<Reference Include="Unity.Collections.LowLevel.ILSupport">
32+
<HintPath>$(ProjectDir)../UnityProject/Library/ScriptAssemblies/Unity.Collections.LowLevel.ILSupport.dll</HintPath>
33+
</Reference>
34+
<Reference Include="Unity.CompilationPipeline.Common">
35+
<HintPath>$(UnityEditorDir)/Data/Managed/Unity.CompilationPipeline.Common.dll</HintPath>
36+
</Reference>
37+
<Reference Include="Unity.Networking.Transport">
38+
<HintPath>$(ProjectDir)../UnityProject/Library/ScriptAssemblies/Unity.Networking.Transport.dll</HintPath>
39+
</Reference>
40+
<Reference Include="UnityEditor">
41+
<HintPath>$(UnityEditorDir)/Data/Managed/UnityEditor.dll</HintPath>
42+
</Reference>
43+
<Reference Include="UnityEngine">
44+
<HintPath>$(UnityEditorDir)/Data/Managed/UnityEngine/UnityEngine.dll</HintPath>
45+
</Reference>
46+
<Reference Include="UnityEngine.CoreModule">
47+
<HintPath>$(UnityEditorDir)/Data/Managed/UnityEngine/UnityEngine.CoreModule.dll</HintPath>
48+
</Reference>
49+
<Reference Include="UnityEngine.IMGUIModule">
50+
<HintPath>$(UnityEditorDir)/Data/Managed/UnityEngine/UnityEngine.IMGUIModule.dll</HintPath>
51+
</Reference>
52+
<Reference Include="UnityEngine.TextRenderingModule">
53+
<HintPath>$(UnityEditorDir)/Data/Managed/UnityEngine/UnityEngine.TextRenderingModule.dll</HintPath>
54+
</Reference>
55+
<ProjectReference Include="$(ProjectDir)../Unity.Netcode.Runtime/Unity.Netcode.Runtime.csproj"/>
56+
</ItemGroup>
57+
58+
</Project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../submodules/com.unity.netcode.gameobjects/com.unity.netcode.gameobjects/Components

UnityNetcodePatcher.sln

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NetcodePatcher.Build", "Net
1717
EndProject
1818
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Unity.Netcode.Runtime", "Unity.Netcode.Runtime\Unity.Netcode.Runtime.csproj", "{BD6F0C24-453F-4DB5-95E2-178C6D6A9E75}"
1919
EndProject
20+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Unity.Netcode.Components", "Unity.Netcode.Components\Unity.Netcode.Components.csproj", "{84D8E1BF-CFA6-4833-8D60-A6F8BD5F64E8}"
21+
EndProject
2022
Global
2123
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2224
Debug|Any CPU = Debug|Any CPU
@@ -73,6 +75,14 @@ Global
7375
{BD6F0C24-453F-4DB5-95E2-178C6D6A9E75}.DebugTools|Any CPU.Build.0 = DebugTools|Any CPU
7476
{BD6F0C24-453F-4DB5-95E2-178C6D6A9E75}.ReleaseTools|Any CPU.ActiveCfg = ReleaseTools|Any CPU
7577
{BD6F0C24-453F-4DB5-95E2-178C6D6A9E75}.ReleaseTools|Any CPU.Build.0 = ReleaseTools|Any CPU
78+
{84D8E1BF-CFA6-4833-8D60-A6F8BD5F64E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
79+
{84D8E1BF-CFA6-4833-8D60-A6F8BD5F64E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
80+
{84D8E1BF-CFA6-4833-8D60-A6F8BD5F64E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
81+
{84D8E1BF-CFA6-4833-8D60-A6F8BD5F64E8}.Release|Any CPU.Build.0 = Release|Any CPU
82+
{84D8E1BF-CFA6-4833-8D60-A6F8BD5F64E8}.DebugTools|Any CPU.ActiveCfg = DebugTools|Any CPU
83+
{84D8E1BF-CFA6-4833-8D60-A6F8BD5F64E8}.DebugTools|Any CPU.Build.0 = DebugTools|Any CPU
84+
{84D8E1BF-CFA6-4833-8D60-A6F8BD5F64E8}.ReleaseTools|Any CPU.ActiveCfg = ReleaseTools|Any CPU
85+
{84D8E1BF-CFA6-4833-8D60-A6F8BD5F64E8}.ReleaseTools|Any CPU.Build.0 = ReleaseTools|Any CPU
7686
EndGlobalSection
7787
GlobalSection(SolutionProperties) = preSolution
7888
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)