mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-17 18:40:33 +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>
|
||||
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
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user