Removed prefixes on paths
This commit is contained in:
parent
47c9c53819
commit
01ac17a078
2 changed files with 4 additions and 4 deletions
|
|
@ -156,7 +156,7 @@ namespace Module.ProjectValidator.Editor
|
|||
|
||||
for (var j = 0; j < rootObjects.Count; j++)
|
||||
{
|
||||
ValidateGameObject(rootObjects[j], "scene:", report, true);
|
||||
ValidateGameObject(rootObjects[j], string.Empty, report, true);
|
||||
}
|
||||
|
||||
if (!isLoaded)
|
||||
|
|
@ -182,7 +182,7 @@ namespace Module.ProjectValidator.Editor
|
|||
{
|
||||
try
|
||||
{
|
||||
ValidateGameObject(assets[i], "prefab:", report, true);
|
||||
ValidateGameObject(assets[i], string.Empty, report, true);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
@ -212,7 +212,7 @@ namespace Module.ProjectValidator.Editor
|
|||
{
|
||||
var assetGuid = EditorAssetUtility.ObjectToAssetGuid(obj);
|
||||
var assetPath = AssetDatabase.GUIDToAssetPath(assetGuid);
|
||||
Validate(assetGuid, $"asset:{assetPath}", obj, report);
|
||||
Validate(assetGuid, assetPath, obj, report);
|
||||
}
|
||||
|
||||
private static void ValidateGameObject(GameObject gameObject, string relativePath, Report report, bool initial)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue