Exemplo n.º 1
0
 public static bool Has(this Material mat, ShaderTag tag) => tag.Has(mat);
Exemplo n.º 2
0
 public static string Get(this Material mat, string prefix, ShaderTag tag, bool searchFallBacks = false) =>
 tag.Get(mat, prefix, searchFallBacks);
Exemplo n.º 3
0
 public static string Get(this Material mat, ShaderTag tag, bool searchFallBacks = false, string defaultValue = "") =>
 tag.Get(mat, searchFallBacks, defaultValue);
Exemplo n.º 4
0
 public static string Get(this Material mat, ShaderProperty.BaseShaderPropertyIndex propertyPrefix,
                          ShaderTag tag, bool searchFallBacks = false) =>
 tag.Get(mat, propertyPrefix, searchFallBacks);
Exemplo n.º 5
0
 public ShaderTagValue(string newValue, ShaderTag nTag)
 {
     value = newValue;
     tag   = nTag;
 }