Fix prefab overwrite.

This commit is contained in:
max committed 2021-01-18 22:59:57 +01:00
1 parent f9a50c8c3a
commit 94f97c218a
4 files changed
+66 -44

No files matched your search

@@ -43,5 +43,10 @@ namespace TAO.VertexAnimation.Editor
}
}
}
public static bool HasAsset(string path, System.Type type)
{
return (AssetDatabase.LoadAssetAtPath(path, type) ? true : false);
}
}
}