SSTUTools.TextureSet.getTextureSet C# (CSharp) Method

getTextureSet() public static method

public static getTextureSet ( String name ) : TextureSet
name String
return TextureSet
        public static TextureSet getTextureSet(String name)
        {
            ConfigNode[] configNodes = GameDatabase.Instance.GetConfigNodes("SSTU_TEXTURESET");
            ConfigNode setNode = Array.Find(configNodes, m => m.GetStringValue("name") == name);
            if (setNode == null) { return null; }
            return new TextureSet(setNode);
        }