asset postprocessor fixes

This commit is contained in:
2017-02-14 03:40:30 +07:00
parent ce269317fc
commit c607777454
4 changed files with 28 additions and 52 deletions

View File

@@ -157,7 +157,6 @@ namespace FTEditor {
asset = ScriptableObject.CreateInstance<T>();
if ( act(asset, true) ) {
AssetDatabase.CreateAsset(asset, asset_path);
AssetDatabase.ImportAsset(asset_path);
} else {
ScriptableObject.DestroyImmediate(asset);
}