Example #1
0
 internal Texture2D[] GetPreviewTextures()
 {
     Texture2D[] array = new Texture2D[this.maxLayerCount];
     for (int i = 0; i < this.maxLayerCount; i++)
     {
         array[i] = PlayerSettings.GetPlatformIconAtSize(this.m_Kind.platform, this.m_Width, this.m_Height, this.m_Kind.kind, this.m_iconSubKind, i);
     }
     return(array);
 }
Example #2
0
        internal Texture2D[] GetPreviewTextures()
        {
            Texture2D[] previewTextures = new Texture2D[maxLayerCount];

            for (int i = 0; i < maxLayerCount; i++)
            {
                previewTextures[i] = PlayerSettings.GetPlatformIconAtSize(m_Kind.platform, m_Width, m_Height, m_Kind.kind, m_iconSubKind, i);
            }

            return(previewTextures);
        }