private void ShowShaderErrors(Shader s) { if (ShaderUtil.GetShaderErrorCount(s) < 1) { return; } ShaderInspector.ShaderErrorListUI((UnityEngine.Object)s, ShaderUtil.GetShaderErrors(s), ref this.m_ScrollPosition); }
private void ShowShaderErrors(Shader s) { int shaderErrorCount = ShaderUtil.GetShaderErrorCount(s); if (shaderErrorCount >= 1) { ShaderInspector.ShaderErrorListUI(s, ShaderUtil.GetShaderErrors(s), ref this.m_ScrollPosition); } }
private void ShowShaderErrors(Shader s) { int n = ShaderUtil.GetShaderErrorCount(s); if (n < 1) { return; } ShaderErrorListUI(s, ShaderUtil.GetShaderErrors(s), ref m_ScrollPosition); }