Пример #1
0
        Color32[] GetPinkColors()
        {
            int len = textureSize * textureSize;

            if (defaultPinkColors != null && defaultPinkColors.Length == len)
            {
                return(defaultPinkColors);
            }
            defaultPinkColors = new Color32[len];
            Color32 color = new Color32(255, 0, 0x80, 255);

            defaultPinkColors.Fill <Color32> (color);
            return(defaultPinkColors);
        }