public static ModUgBgStyle GetUgBgStyle(int style) { return style >= vanillaUgBgStyleCount && style < nextUgBgStyle ? ugBgStyles[style - vanillaUgBgStyleCount] : null; }
/// <summary> /// Returns the ModUgBgStyle object with the given ID. /// </summary> public static ModUgBgStyle GetModUgBgStyle(int style) => UgBgStyleLoader.GetUgBgStyle(style);