mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Network Manager Template - moved setting singleton to Awake
This commit is contained in:
parent
26e3c5a4fa
commit
16d8c08a75
@ -28,6 +28,7 @@ public class #SCRIPTNAME# : NetworkManager
|
||||
public override void Awake()
|
||||
{
|
||||
base.Awake();
|
||||
singleton = this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -36,7 +37,6 @@ public class #SCRIPTNAME# : NetworkManager
|
||||
/// </summary>
|
||||
public override void Start()
|
||||
{
|
||||
singleton = this;
|
||||
base.Start();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user