コード例 #1
0
ファイル: ShaderGUI.cs プロジェクト: leek9d/UnityCsReference
        internal static void ValidateMaterial(Material material)
        {
            string customEditor = ShaderUtil.GetCurrentCustomEditor(material.shader);

            CreateShaderGUI(customEditor)?.ValidateMaterial(material);
        }