Exemple #1
0
 public static bool Has(this Material mat, ShaderProperty.BaseShaderPropertyIndex propertyPrefix,
                        ShaderTagValue val, bool searchFallBacks = false) =>
 val.Has(mat, propertyPrefix, searchFallBacks);
Exemple #2
0
 public bool Has(Material mat, ShaderProperty.BaseShaderPropertyIndex property, bool searchFallBacks = false) =>
 mat && value.Equals(tag.Get(mat, property, searchFallBacks));
Exemple #3
0
 public static string Get(this Material mat, ShaderProperty.BaseShaderPropertyIndex propertyPrefix,
                          ShaderTag tag, bool searchFallBacks = false) =>
 tag.Get(mat, propertyPrefix, searchFallBacks);
Exemple #4
0
 public string Get(Material mat, ShaderProperty.BaseShaderPropertyIndex property,
                   bool searchFallBacks = false) =>
 Get(mat, property.NameForDisplayPEGI(), searchFallBacks);