// CONSTRUCTOR
        public QColorPickerWindow(GameObject[] gameObjects, QColorSelectedHandler colorSelectedHandler, QColorRemovedHandler colorRemovedHandler)
        {
            this.gameObjects          = gameObjects;
            this.colorSelectedHandler = colorSelectedHandler;
            this.colorRemovedHandler  = colorRemovedHandler;

            colorPaletteTexture = QResources.getInstance().getTexture(QTexture.QColorPalette);
            paletteRect         = new Rect(0, 0, colorPaletteTexture.width, colorPaletteTexture.height);
        }
        // CONSTRUCTOR
        public QColorPickerWindow(GameObject[] gameObjects, QColorSelectedHandler colorSelectedHandler, QColorRemovedHandler colorRemovedHandler)
        {
            this.gameObjects = gameObjects;
            this.colorSelectedHandler = colorSelectedHandler;
            this.colorRemovedHandler = colorRemovedHandler;

            colorPaletteTexture = QResources.getInstance().getTexture(QTexture.QColorPalette);
            paletteRect = new Rect(0, 0, colorPaletteTexture.width, colorPaletteTexture.height);
        }
 // DESTRUCTOR
 public override void OnClose()
 {
     gameObjects          = null;
     colorSelectedHandler = null;
     colorRemovedHandler  = null;
 }
 // DESTRUCTOR
 public override void OnClose()
 {
     gameObjects = null;
     colorSelectedHandler = null;
     colorRemovedHandler = null;
 }