public static ShaderMessage[] GetShaderMessages (Shader s);

파라미터

sThe Shader instance to check for messages.

반환

ShaderMessage[] An array of ShaderMessage structs containing the generated messages.

설명

Returns each error and warning generated by the Unity Shader Compiler for the given Shader.