private void WatchWindowFunc(int windowId) { List <Watch> watches = this.debugger.GetWatches(); GUI.Label(new Rect(4, 20, 396, 56), "Watches: " + watches.Count); for (int index = 0, size = watches.Count; index < size; index++) { Watch watch = watches[index]; Rect rect = new Rect(4, 20 + 34 * (index + 1), 396, 34); GUI.Label(rect, watch.GetDisplayString()); } }