Updated NetworkRoomManager Script Template

- Added static singleton
This commit is contained in:
MrGadget 2024-10-25 06:24:39 -04:00
parent 9a2bf46774
commit 2983c45f1f

View File

@ -18,6 +18,10 @@ using Mirror;
/// </summary> /// </summary>
public class #SCRIPTNAME# : NetworkRoomManager public class #SCRIPTNAME# : NetworkRoomManager
{ {
// Overrides the base singleton so we don't
// have to cast to this type everywhere.
public static new #SCRIPTNAME# singleton => (#SCRIPTNAME#)NetworkRoomManager.singleton;
#region Server Callbacks #region Server Callbacks
/// <summary> /// <summary>