fix(AdditiveNetworkManager): Removed singleton

This commit is contained in:
MrGadget1024 2023-12-30 07:11:30 -05:00
parent a425736bda
commit 143dede60d

View File

@ -14,18 +14,6 @@ public class AdditiveNetworkManager : NetworkManager
[Tooltip("Add all sub-scenes to this list")] [Tooltip("Add all sub-scenes to this list")]
public string[] subScenes; public string[] subScenes;
public static new AdditiveNetworkManager singleton { get; private set; }
/// <summary>
/// Runs on both Server and Client
/// Networking is NOT initialized when this fires
/// </summary>
public override void Awake()
{
base.Awake();
singleton = this;
}
public override void OnStartServer() public override void OnStartServer()
{ {
base.OnStartServer(); base.OnStartServer();