PreviewValidation
public static class PreviewValidationValidation and error detection utilities for preview generation. Consolidates validation logic from PreviewManager and CustomPrefabPreviewGenerator.
Methods
Section titled “Methods”
IsErrorShader(string)
Section titled “IsErrorShader(string)”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.
IsDefaultIcon(string)
Section titled “IsDefaultIcon(string)”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.
IsErrorShader(Texture2D)
Section titled “IsErrorShader(Texture2D)”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.
IsDefaultIcon(Texture2D)
Section titled “IsDefaultIcon(Texture2D)”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.