UnityEditor.MaterialEditor.CheckSetup C# (CSharp) Method

CheckSetup() private method

private CheckSetup ( ) : void
return void
        private void CheckSetup()
        {
            if (this.m_CheckSetup && (this.m_Shader != null))
            {
                this.m_CheckSetup = false;
                if ((this.m_CustomShaderGUI == null) && !this.IsMaterialEditor(this.m_Shader.customEditor))
                {
                    object[] args = new object[] { this.m_Shader.name, this.m_Shader.customEditor };
                    Debug.LogWarningFormat("Could not create a custom UI for the shader '{0}'. The shader has the following: 'CustomEditor = {1}'. Does the custom editor specified include its namespace? And does the class either derive from ShaderGUI or MaterialEditor?", args);
                }
            }
        }
MaterialEditor