mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Merge branch 'vis2k:master' into master
This commit is contained in:
commit
bd357e479c
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user