Пример #1
0
 public static string Get(this Material mat, string prefix, ShaderTag tag, bool searchFallBacks = false) =>
 tag.Get(mat, prefix, searchFallBacks);
Пример #2
0
 public static string Get(this Material mat, ShaderTag tag, bool searchFallBacks = false, string defaultValue = "") =>
 tag.Get(mat, searchFallBacks, defaultValue);
Пример #3
0
 public static string Get(this Material mat, ShaderProperty.BaseShaderPropertyIndex propertyPrefix,
                          ShaderTag tag, bool searchFallBacks = false) =>
 tag.Get(mat, propertyPrefix, searchFallBacks);
Пример #4
0
 public bool Has(Material mat, bool searchFallBacks = false) =>
 value.Equals(tag.Get(mat, searchFallBacks));