Add simplified collider for in-built primitive meshes

This commit is contained in:
Wojciech Figat
2022-12-12 11:22:15 +01:00
parent d4601ecb44
commit 359e7d68d4
2 changed files with 51 additions and 6 deletions

View File

@@ -290,11 +290,6 @@ namespace FlaxEditor.Windows
return new Item(name, GUI.Drag.DragItems.GetDragData(path));
}
private Item CreateActorItem(string name, Type type)
{
return CreateActorItem(name, new ScriptType(type));
}
private Item CreateActorItem(string name, ScriptType type)
{
return new ScriptTypeItem(name, type, GUI.Drag.DragActorType.GetDragData(type));