Fixed issue, where GUID was moved between Unity versions from UnityEditor (6.3) to UnityEngine (6.4)
This commit is contained in:
parent
58acb2979d
commit
2ec61871c2
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
|
||||||
namespace Module.ProjectValidator.Editor
|
namespace Module.ProjectValidator.Editor
|
||||||
{
|
{
|
||||||
internal sealed class Report
|
internal sealed class Report
|
||||||
|
|
@ -64,7 +64,7 @@ namespace Module.ProjectValidator.Editor
|
||||||
|
|
||||||
public bool TryGetSeverityFor(string guid, out MappingEntry mapping)
|
public bool TryGetSeverityFor(string guid, out MappingEntry mapping)
|
||||||
{
|
{
|
||||||
if (UnityEngine.GUID.TryParse(guid, out var assetGuid) && _assetToSeverityMapping.TryGetValue(assetGuid, out mapping))
|
if (GUID.TryParse(guid, out var assetGuid) && _assetToSeverityMapping.TryGetValue(assetGuid, out mapping))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
mapping = new MappingEntry();
|
mapping = new MappingEntry();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue