mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkManager Template - moved Awake override up
This commit is contained in:
parent
3faec24681
commit
fdd7a32402
@ -14,13 +14,6 @@ public class #SCRIPTNAME# : NetworkManager
|
||||
// have to cast to this type everywhere.
|
||||
public static new #SCRIPTNAME# singleton { get; private set; }
|
||||
|
||||
#region Unity Callbacks
|
||||
|
||||
public override void OnValidate()
|
||||
{
|
||||
base.OnValidate();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Runs on both Server and Client
|
||||
/// Networking is NOT initialized when this fires
|
||||
@ -31,6 +24,13 @@ public class #SCRIPTNAME# : NetworkManager
|
||||
singleton = this;
|
||||
}
|
||||
|
||||
#region Unity Callbacks
|
||||
|
||||
public override void OnValidate()
|
||||
{
|
||||
base.OnValidate();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Runs on both Server and Client
|
||||
/// Networking is NOT initialized when this fires
|
||||
|
Loading…
Reference in New Issue
Block a user