File tree Expand file tree Collapse file tree 5 files changed +43
-17
lines changed
com.unity.netcode.gameobjects Expand file tree Collapse file tree 5 files changed +43
-17
lines changed Original file line number Diff line number Diff line change 11using System . Runtime . CompilerServices ;
22
33#if UNITY_EDITOR
4- [ assembly: InternalsVisibleTo ( "Unity.Netcode.Editor.CodeGen" ) ]
54[ assembly: InternalsVisibleTo ( "Unity.Netcode.Editor" ) ]
6- #endif
5+ [ assembly: InternalsVisibleTo ( "Unity.Netcode.Editor.CodeGen" ) ]
6+ #endif // UNITY_EDITOR
77
88#if UNITY_INCLUDE_TESTS
9+ [ assembly: InternalsVisibleTo ( "Unity.Netcode.RuntimeTests" ) ]
10+ [ assembly: InternalsVisibleTo ( "TestProject.RuntimeTests" ) ]
911#if UNITY_EDITOR
1012[ assembly: InternalsVisibleTo ( "Unity.Netcode.EditorTests" ) ]
1113[ assembly: InternalsVisibleTo ( "TestProject.EditorTests" ) ]
12- #endif
13- [ assembly: InternalsVisibleTo ( "TestProject.RuntimeTests" ) ]
14- [ assembly: InternalsVisibleTo ( "Unity.Netcode.RuntimeTests" ) ]
15- #endif
14+ #endif // UNITY_EDITOR
15+ #endif // UNITY_INCLUDE_TESTS
Original file line number Diff line number Diff line change 11using System . Runtime . CompilerServices ;
22
3+ #if UNITY_INCLUDE_TESTS
4+ #if UNITY_EDITOR
35[ assembly: InternalsVisibleTo ( "Unity.Netcode.EditorTests" ) ]
6+ #endif // UNITY_EDITOR
7+ #endif // UNITY_INCLUDE_TESTS
Original file line number Diff line number Diff line change 11using System . Runtime . CompilerServices ;
22
33#if UNITY_EDITOR
4- [ assembly: InternalsVisibleTo ( "Unity.Netcode.EditorTests" ) ]
5- [ assembly: InternalsVisibleTo ( "Unity.Netcode.Editor.CodeGen" ) ]
64[ assembly: InternalsVisibleTo ( "Unity.Netcode.Editor" ) ]
7- [ assembly: InternalsVisibleTo ( "TestProject.EditorTests" ) ]
85[ assembly: InternalsVisibleTo ( "Unity.Netcode.Editor.CodeGen" ) ]
9- #endif
10- [ assembly: InternalsVisibleTo ( "TestProject.ToolsIntegration.RuntimeTests" ) ]
11- [ assembly: InternalsVisibleTo ( "TestProject.RuntimeTests" ) ]
6+ #endif // UNITY_EDITOR
7+ #if MULTIPLAYER_TOOLS
8+ [ assembly: InternalsVisibleTo ( "Unity.Multiplayer.Tools.Adapters.Ngo1WithUtp2" ) ]
9+ #endif // MULTIPLAYER_TOOLS
10+ #if COM_UNITY_NETCODE_ADAPTER_UTP
11+ [ assembly: InternalsVisibleTo ( "Unity.Netcode.Adapter.UTP" ) ]
12+ #endif // COM_UNITY_NETCODE_ADAPTER_UTP
13+
14+ #if UNITY_INCLUDE_TESTS
1215[ assembly: InternalsVisibleTo ( "Unity.Netcode.RuntimeTests" ) ]
1316[ assembly: InternalsVisibleTo ( "Unity.Netcode.TestHelpers.Runtime" ) ]
14- [ assembly: InternalsVisibleTo ( "Unity.Netcode.Adapter.UTP" ) ]
15- [ assembly: InternalsVisibleTo ( "Unity.Multiplayer.Tools.Adapters.Ngo1WithUtp2" ) ]
17+ [ assembly: InternalsVisibleTo ( "TestProject.RuntimeTests" ) ]
18+ #if UNITY_EDITOR
19+ [ assembly: InternalsVisibleTo ( "Unity.Netcode.EditorTests" ) ]
20+ [ assembly: InternalsVisibleTo ( "TestProject.EditorTests" ) ]
21+ #endif // UNITY_EDITOR
22+ #if MULTIPLAYER_TOOLS
23+ [ assembly: InternalsVisibleTo ( "TestProject.ToolsIntegration.RuntimeTests" ) ]
24+ #endif // MULTIPLAYER_TOOLS
25+ #endif // UNITY_INCLUDE_TESTS
Original file line number Diff line number Diff line change 11using System . Runtime . CompilerServices ;
22
3- [ assembly: InternalsVisibleTo ( "TestProject.EditorTests" ) ]
3+ #if UNITY_INCLUDE_TESTS
4+ [ assembly: InternalsVisibleTo ( "Unity.Netcode.RuntimeTests" ) ]
45[ assembly: InternalsVisibleTo ( "TestProject.RuntimeTests" ) ]
6+ #if UNITY_EDITOR
7+ [ assembly: InternalsVisibleTo ( "TestProject.EditorTests" ) ]
8+ #endif // UNITY_EDITOR
9+ #if MULTIPLAYER_TOOLS
510[ assembly: InternalsVisibleTo ( "TestProject.ToolsIntegration.RuntimeTests" ) ]
6- [ assembly: InternalsVisibleTo ( "Unity.Netcode.RuntimeTests" ) ]
11+ #endif // MULTIPLAYER_TOOLS
12+ #endif // UNITY_INCLUDE_TESTS
Original file line number Diff line number Diff line change 11using System . Runtime . CompilerServices ;
22
3- [ assembly : InternalsVisibleTo ( "TestProject.EditorTests" ) ]
3+ #if UNITY_INCLUDE_TESTS
44[ assembly: InternalsVisibleTo ( "TestProject.RuntimeTests" ) ]
5+ #if UNITY_EDITOR
6+ [ assembly: InternalsVisibleTo ( "TestProject.EditorTests" ) ]
7+ #endif // UNITY_EDITOR
8+ #if MULTIPLAYER_TOOLS
59[ assembly: InternalsVisibleTo ( "TestProject.ToolsIntegration.RuntimeTests" ) ]
10+ #endif // MULTIPLAYER_TOOLS
11+ #endif // UNITY_INCLUDE_TESTS
You can’t perform that action at this time.
0 commit comments