Method ProjectFolderContainsNonBuiltinMaterials
ProjectFolderContainsNonBuiltinMaterials(List<MaterialUpgrader>)
Checking if project folder contains any materials that are not using built-in shaders.
Declaration
public static bool ProjectFolderContainsNonBuiltinMaterials(List<MaterialUpgrader> upgraders)
Parameters
Type | Name | Description |
---|---|---|
List<MaterialUpgrader> | upgraders | List if MaterialUpgraders |
Returns
Type | Description |
---|---|
bool | Returns true if at least one material uses a non-built-in shader (ignores Hidden, HDRP and Shader Graph Shaders) |