private static void LoadSettingView_v1Prefab() { if (UIResourceManager.WidgetFactory.GetCustomType("SettingsView") == null) { PrefabInjector.InjectDocumentAndCreate("SettingsView", Load(SettingView_v1Path)); } }
public static WidgetPrefab LoadModOptionsScreen_v1Prefab() { return(PrefabInjector.InjectDocumentAndCreate("ModOptionsScreen", Load(ModOptionsScreen_v1Path))); }