Merge branch 'vis2k:master' into master

This commit is contained in:
MrGadget 2022-01-16 01:31:03 -05:00 committed by GitHub
commit bd357e479c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,10 @@ using Mirror;
public class #SCRIPTNAME# : NetworkManager
{
// Overrides the base singleton so we don't
// have to cast to this type everywhere.
public static new PortalsNetworkManager singleton { get; private set; }
#region Unity Callbacks
public override void OnValidate()
@ -32,6 +36,7 @@ public class #SCRIPTNAME# : NetworkManager
/// </summary>
public override void Start()
{
singleton = this;
base.Start();
}