Пример #1
0
 public static Renderer Set <T>(this Renderer renderer, IndexGeneric <T> property, T value) =>
 property.SetOn(renderer, value);
Пример #2
0
 public static Material Set <T>(this Material mat, IndexGeneric <T> property)
 {
     property.SetOn(mat);
     return(mat);
 }
Пример #3
0
 public static Material Set <T>(this Material mat, IndexGeneric <T> property, T value) =>
 property.SetOn(mat, value);
Пример #4
0
 public static MaterialPropertyBlock Set <T>(this MaterialPropertyBlock block, IndexGeneric <T> property, T value)
 {
     property.SetOn(block, value);
     return(block);
 }