mirror of
https://github.com/maxartz15/VertexAnimation.git
synced 2025-07-03 06:46:05 +02: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