public static GetUgBgStyle ( int style ) : |
||
style | int | |
리턴 |
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);