Skip to content

PreviewValidation

ClassAssetInventoryAssetInventory.Editor
public static class PreviewValidation

Validation and error detection utilities for preview generation. Consolidates validation logic from PreviewManager and CustomPrefabPreviewGenerator.

public static bool IsErrorShader(string imagePath)

No description is available for this member.

Parameters

Name Type Description
imagePath System.String

Returns

System.Boolean — No return description is available.

public static bool IsDefaultIcon(string imagePath)

No description is available for this member.

Parameters

Name Type Description
imagePath System.String

Returns

System.Boolean — No return description is available.

public static bool IsErrorShader(Texture2D image)

No description is available for this member.

Parameters

Name Type Description
image UnityEngine.Texture2D

Returns

System.Boolean — No return description is available.

public static bool IsDefaultIcon(Texture2D image)

No description is available for this member.

Parameters

Name Type Description
image UnityEngine.Texture2D

Returns

System.Boolean — No return description is available.