mirror of
https://github.com/maxartz15/VertexAnimation.git
synced 2025-10-30 00:15:40 +01:00
Fix prefab overwrite.
This commit is contained in:
@@ -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