void OnGUI() { Event currentEvent = Event.current; //Camera cam = Camera.main; //Vector2 mousePos = new Vector2(); //mousePos.x = currentEvent.mousePosition.x; //mousePos.y = cam.pixelHeight - currentEvent.mousePosition.y; //Vector3 point = cam.ScreenToWorldPoint(new Vector3(mousePos.x, mousePos.y, cam.nearClipPlane)); GUILayout.BeginArea(new Rect(20, 400, 250, 520)); GUILayout.Label($"Player Id: {playerId} {(stateFluxClient.isHosting ? "(Host)" : "(Guest)")}"); //GUILayout.Label("Items in tracking map: " + trackingMap.Count); GUILayout.Label("Items in tracking map: " + gameObjectTracker.Count()); miceTracker.GUIDescribe(); //GUILayout.Label("Screen pixels: " + cam.pixelWidth + ":" + cam.pixelHeight); //GUILayout.Label("Mouse position: " + mousePos); //GUILayout.Label("World position: " + point.ToString("F3")); //GUILayout.Label("My Mouse GO: " + myMouse.transform.position.x + "," + myMouse.transform.position.y); //GUILayout.Label("Their Mouse GO: " + theirMouse.transform.position.x + "," + theirMouse.transform.position.y); // miceTracker.GUIDescribe(); GUILayout.EndArea(); }