/// <summary>
 /// Enables required blend mode keyword for the provided material while disabling all the other blend mode keywords.
 /// </summary>
 public static void SelectBlendModeKeyword(Material material, BlendMode blendMode)
 {
     foreach (var keyword in material.shaderKeywords)
     {
         if (keyword.StartsWith(modeKeywordPrefix, StringComparison.InvariantCulture))
         {
             material.DisableKeyword(keyword);
         }
     }
     material.EnableKeyword(blendMode.ToShaderKeyword());
 }