Пример #1
0
        private static Texture FindTexture(TextureFile textures, string name)
        {
            if (textures == null)
            {
                return null;
            }

            var textureObj = textures.FindTextureByName(name);
            return textureObj;
        }
Пример #2
0
        private static Texture FindTexture(TextureFile textures, string name)
        {
            if (textures == null)
            {
                return(null);
            }

            var textureObj = textures.FindTextureByName(name);

            return(textureObj);
        }