Version: 2020.3
言語: 日本語
public static int GetShaderMessageCount (Shader s);

パラメーター

s The 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.