GetShaderErrorCount() 개인적인 메소드

private GetShaderErrorCount ( Shader s ) : int
s UnityEngine.Shader
리턴 int
예제 #1
0
 private void ShowShaderErrors(Shader s)
 {
     if (ShaderUtil.GetShaderErrorCount(s) < 1)
     {
         return;
     }
     ShaderInspector.ShaderErrorListUI((UnityEngine.Object)s, ShaderUtil.GetShaderErrors(s), ref this.m_ScrollPosition);
 }
예제 #2
0
        private void ShowShaderErrors(Shader s)
        {
            int shaderErrorCount = ShaderUtil.GetShaderErrorCount(s);

            if (shaderErrorCount >= 1)
            {
                ShaderInspector.ShaderErrorListUI(s, ShaderUtil.GetShaderErrors(s), ref this.m_ScrollPosition);
            }
        }
예제 #3
0
        private void ShowShaderErrors(Shader s)
        {
            int n = ShaderUtil.GetShaderErrorCount(s);

            if (n < 1)
            {
                return;
            }
            ShaderErrorListUI(s, ShaderUtil.GetShaderErrors(s), ref m_ScrollPosition);
        }