Exemple #1
0
        public QMemoryDetector(QConsole console)
        {
            this.x = Screen.width - 200;
            this.y = 60;
            this.w = 200;
            this.h = 20;

            this.allocMemoryRect = new Rect(x, y, w, h);
            this.reservedMemoryRect = new Rect(x, y + h, w, h);
            this.unusedReservedMemoryRect = new Rect(x, y + 2 * h, w, h);
            this.monoHeapRect = new Rect(x, y + 3 * h, w, h);
            this.monoUsedRect = new Rect(x, y + 4 * h, w, h);

            console.onGUICallback += OnGUI;
        }
		public QFPSCounter(QConsole console)
		{
			console.onUpdateCallback += Update;
			console.onGUICallback += OnGUI;
		}