NetworkManager Template - moved Awake override up

This commit is contained in:
MrGadget1024 2022-12-27 20:00:33 -05:00
parent 3faec24681
commit fdd7a32402

View File

@ -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