mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Updated NetworkRoomManager Script Template
- Added static singleton
This commit is contained in:
parent
9a2bf46774
commit
2983c45f1f
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user