added higher player cap (up to 51 Players)

This commit is contained in:
logzinga 2023-03-07 17:51:48 +11:00
parent 801a2aee5c
commit 5903247170
3 changed files with 21 additions and 21 deletions

View File

@ -3598,7 +3598,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!114 &1732865421
MonoBehaviour:
m_ObjectHideFlags: 0

View File

@ -33,7 +33,7 @@ public class ServerMenu : MonoBehaviour
}
public async Task<string> HostGame () {
try {
Allocation allocation = await RelayService.Instance.CreateAllocationAsync(3);
Allocation allocation = await RelayService.Instance.CreateAllocationAsync(50);
string joinCode = await RelayService.Instance.GetJoinCodeAsync(allocation.AllocationId);
Debug.Log(joinCode);

View File

@ -19,7 +19,7 @@ MonoBehaviour:
width: 1920
height: 978
m_ShowMode: 4
m_Title: Console
m_Title: Game
m_RootView: {fileID: 6}
m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000}
@ -48,7 +48,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 200}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 19
controlID: 28
--- !u!114 &3
MonoBehaviour:
m_ObjectHideFlags: 52
@ -223,7 +223,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 16192, y: 16192}
vertical: 1
controlID: 20
controlID: 29
--- !u!114 &10
MonoBehaviour:
m_ObjectHideFlags: 52
@ -248,7 +248,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 21
controlID: 30
--- !u!114 &11
MonoBehaviour:
m_ObjectHideFlags: 52
@ -330,9 +330,9 @@ MonoBehaviour:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: 9a670000
m_LastClickedID: 26522
m_ExpandedIDs: 00000000a0670000
m_SelectedIDs: d8690000
m_LastClickedID: 27096
m_ExpandedIDs: 00000000a0670000106a0000146a0000426a000000ca9a3b
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -385,8 +385,8 @@ MonoBehaviour:
m_Icon: {fileID: 0}
m_ResourceFile:
m_ListAreaState:
m_SelectedInstanceIDs: 16660000
m_LastClickedInstanceID: 26134
m_SelectedInstanceIDs: 64140000
m_LastClickedInstanceID: 5220
m_HadKeyboardFocusLastEvent: 1
m_ExpandedInstanceIDs: c623000000000000
m_RenameOverlay:
@ -488,9 +488,9 @@ MonoBehaviour:
m_SceneHierarchy:
m_TreeViewState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 38fbffff
m_SelectedIDs: e2650000
m_LastClickedID: 26082
m_ExpandedIDs: 38fbfffff4ffffff
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@ -772,9 +772,9 @@ MonoBehaviour:
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: -4.674858, y: 16.108683, z: -22.230846}
m_Target: {x: -9.627197, y: 21.514101, z: 13.583206}
speed: 2
m_Value: {x: -4.674858, y: 16.108683, z: -22.230846}
m_Value: {x: -9.627197, y: 21.514101, z: 13.583206}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@ -821,13 +821,13 @@ MonoBehaviour:
m_GridAxis: 1
m_gridOpacity: 0.5
m_Rotation:
m_Target: {x: 0.21460722, y: 0.009477612, z: -0.0020491122, w: 0.9767108}
m_Target: {x: 0.08118699, y: 0.8552431, z: -0.49204582, w: 0.14145733}
speed: 2
m_Value: {x: 0.21459498, y: 0.0094770705, z: -0.002048995, w: 0.976655}
m_Value: {x: 0.08118084, y: 0.85517836, z: -0.49200857, w: 0.14144662}
m_Size:
m_Target: 2.863763
m_Target: 3.2350745
speed: 2
m_Value: 2.863763
m_Value: 3.2350745
m_Ortho:
m_Target: 0
speed: 2
@ -913,7 +913,7 @@ MonoBehaviour:
m_HSlider: 0
m_VSlider: 0
m_IgnoreScrollWheelUntilClicked: 0
m_EnableMouseInput: 1
m_EnableMouseInput: 0
m_EnableSliderZoomHorizontal: 0
m_EnableSliderZoomVertical: 0
m_UniformScale: 1