private void OnGUI()
{
if (!IsOwner)
return;
GUILayout.Space(25);
// The server NetworkingManager object controls how fast the client's times are updated
GUILayout.Label("The current server time is: " + NetworkingManager.Instance.ServerTime);
GUILayout.Label("Press B or F to assign your name across the network.");
GUILayout.Label("This will also updated get the latest list of players");
GUILayout.Label("Bytes In: " + NetWorker.BandwidthIn);
GUILayout.Label("Bytes Out: " + NetWorker.BandwidthOut);
GUILayout.Label("Kilobytes In: " + (NetWorker.BandwidthIn / 1024.0f));
GUILayout.Label("Kilobytes Out: " + (NetWorker.BandwidthOut / 1024.0f));
GUILayout.Label("Megabytes In: " + (NetWorker.BandwidthIn / 1024.0f / 1024.0f));
GUILayout.Label("Megabytes Out: " + (NetWorker.BandwidthOut / 1024.0f / 1024.0f));
GUILayout.Label("Current Frame: " + NetworkingManager.Instance.CurrentFrame);
}