mirror of
https://github.com/maxartz15/VertexAnimation.git
synced 2026-10-20 10:55:49 +02:00
Fix prefab overwrite.
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user