internal static void ValidateMaterial(Material material) { string customEditor = ShaderUtil.GetCurrentCustomEditor(material.shader); CreateShaderGUI(customEditor)?.ValidateMaterial(material); }