/// <summary> /// Gets a bool indicating if this resource has already been redirected before. /// </summary> public bool HasReferenceBeenRedirectedBefore(UnityEngine.Object asset) { var ext = asset.GetExtensionData <ResourceExtensionData>(); return(ext != null && ext.HasBeenRedirected); }
/// <summary> /// Gets a bool indicating if this resource has already been redirected before. /// </summary> public bool HasReferenceBeenRedirectedBefore(UnityEngine.Object asset) { return(asset.GetExtensionData <ResourceExtensionData>()?.HasBeenRedirected == true); }