From 143dede60dbf2c9bae3fb6a3972ad102ae1008bc Mon Sep 17 00:00:00 2001 From: MrGadget1024 <9826063+MrGadget1024@users.noreply.github.com> Date: Sat, 30 Dec 2023 07:11:30 -0500 Subject: [PATCH] fix(AdditiveNetworkManager): Removed singleton --- .../AdditiveScenes/Scripts/AdditiveNetworkManager.cs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Assets/Mirror/Examples/AdditiveScenes/Scripts/AdditiveNetworkManager.cs b/Assets/Mirror/Examples/AdditiveScenes/Scripts/AdditiveNetworkManager.cs index 93e3d54ed..8f2c8357a 100644 --- a/Assets/Mirror/Examples/AdditiveScenes/Scripts/AdditiveNetworkManager.cs +++ b/Assets/Mirror/Examples/AdditiveScenes/Scripts/AdditiveNetworkManager.cs @@ -14,18 +14,6 @@ public class AdditiveNetworkManager : NetworkManager [Tooltip("Add all sub-scenes to this list")] public string[] subScenes; - public static new AdditiveNetworkManager singleton { get; private set; } - - /// - /// Runs on both Server and Client - /// Networking is NOT initialized when this fires - /// - public override void Awake() - { - base.Awake(); - singleton = this; - } - public override void OnStartServer() { base.OnStartServer();