protected virtual void Reset()
        {
            graphic = GetComponent <LeapGraphic>();
            if (graphic == null)
            {
                renderer = GetComponent <Renderer>();
            }

            if (palette == null && s_lastPalette != null)
            {
                palette = s_lastPalette;
            }
        }
        protected virtual void OnValidate()
        {
            if (palette != null)
            {
                if (_paletteWasNull)
                {
                    _paletteWasNull = false;
                    s_lastPalette   = palette;
                }
                validateColorIdx(ref restingColorIdx);
                setColor(restingColor);
            }

            refreshRendererShaderID();
        }