fix: AddComponentMenu hide example / obsolete components

Added [AddComponentMenu("")] to:
- BenchmarkNetworkManager
- CCUNetworkManager
- NetworkTransformChild
This commit is contained in:
MrGadget1024 2022-12-22 02:22:23 -05:00
parent b662e367a9
commit 274721b297
3 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@
namespace Mirror
{
[AddComponentMenu("Network/Network Transform Child (Unreliable)")]
[AddComponentMenu("")]
[Obsolete("NetworkTransformChild is not needed anymore. The .target is now exposed in NetworkTransform itself. Note you can open the Inspector in debug view and replace the source script instead of reassigning everything.")]
public class NetworkTransformChild : NetworkTransform {}
}

View File

@ -2,6 +2,7 @@
namespace Mirror.Examples.Benchmark
{
[AddComponentMenu("")]
public class BenchmarkNetworkManager : NetworkManager
{
[Header("Spawns")]

View File

@ -2,6 +2,7 @@
namespace Mirror.Examples.CCU
{
[AddComponentMenu("")]
public class CCUNetworkManager : NetworkManager
{
[Header("Spawns")]