changed way that the the new menu is generated. Added category name to proxies

This commit is contained in:
Chandler Cox
2022-10-30 14:30:32 -05:00
parent 3c689a4697
commit 050635b2cd
31 changed files with 149 additions and 54 deletions

View File

@@ -927,7 +927,9 @@ namespace FlaxEditor.Modules
Proxy.Add(new VisualScriptProxy());
Proxy.Add(new LocalizedStringTableProxy());
Proxy.Add(new FileProxy());
Proxy.Add(new SpawnableJsonAssetProxy<PhysicalMaterial>());
var pm = new SpawnableJsonAssetProxy<PhysicalMaterial>();
pm.SetCategoryName("Physics");
Proxy.Add(pm);
// Settings
Proxy.Add(new SettingsProxy(typeof(GameSettings), Editor.Instance.Icons.GameSettings128));