removed not needed variable

This commit is contained in:
2022-11-04 07:10:24 -05:00
parent 2dca30305f
commit de4d3d97f2
@@ -175,8 +175,7 @@ namespace FlaxEditor.Windows
// user can use attribute to put their own assets into the content context menu
var generic = typeof(SpawnableJsonAssetProxy<>).MakeGenericType(type.Type);
var instance = Activator.CreateInstance(generic);
dynamic obj = instance;
p = obj as AssetProxy;
p = instance as AssetProxy;
}
if (p == null)