コード例 #1
0
 private static void LoadSettingView_v1Prefab()
 {
     if (UIResourceManager.WidgetFactory.GetCustomType("SettingsView") == null)
     {
         PrefabInjector.InjectDocumentAndCreate("SettingsView", Load(SettingView_v1Path));
     }
 }
コード例 #2
0
 public static WidgetPrefab LoadModOptionsScreen_v1Prefab()
 {
     return(PrefabInjector.InjectDocumentAndCreate("ModOptionsScreen", Load(ModOptionsScreen_v1Path)));
 }