ShaderUtil.GetShaderMessageCount

매뉴얼로 전환
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.