RemoteStats, NetworkStats minor changes

This commit is contained in:
MrGadget1024 2023-01-26 03:29:28 -05:00
parent f16e1973c0
commit 505a8eca43
2 changed files with 3 additions and 1 deletions

View File

@ -148,7 +148,7 @@ void OnGUI()
{ {
// create main GUI area // create main GUI area
// 105 is below NetworkManager HUD in all cases. // 105 is below NetworkManager HUD in all cases.
GUILayout.BeginArea(new Rect(10, 105, 215, 300)); GUILayout.BeginArea(new Rect(10, 120, 215, 300));
// show client / server stats if active // show client / server stats if active
if (NetworkClient.active) OnClientGUI(); if (NetworkClient.active) OnClientGUI();

View File

@ -121,6 +121,7 @@ void LoadPassword()
try try
{ {
serverPassword = File.ReadAllText(path); serverPassword = File.ReadAllText(path);
Debug.Log($"RemoteStatistics: Password is {serverPassword}");
} }
catch (Exception exception) catch (Exception exception)
{ {
@ -209,6 +210,7 @@ void UpdateServer()
)); ));
} }
} }
void UpdateClient() void UpdateClient()
{ {
if (Input.GetKeyDown(hotKey)) if (Input.GetKeyDown(hotKey))