internal static extern int GetShaderErrorCount(Shader s); [MethodImpl(MethodImplOptions.InternalCall)]
private void ShowShaderErrors(Shader s) { if (ShaderUtil.GetShaderErrorCount(s) < 1) { return; } ShaderInspector.ShaderErrorListUI((UnityEngine.Object)s, ShaderUtil.GetShaderErrors(s), ref this.m_ScrollPosition); }