Version: 2019.4
public static int GetShaderMessageCount (Shader s);

パラメーター

sThe Shader instance to check for messages.

戻り値

int The number of errors and warnings generated by the Unity Shader Compiler.

説明

Returns the number of errors and warnings generated by the Unity Shader Compiler for the given Shader.