public static T Get <T>(this Material mat, IndexGeneric <T> property) => property.Get(mat);
public static Renderer Set <T>(this Renderer renderer, IndexGeneric <T> property, T value) => property.SetOn(renderer, value);
public static Material Set <T>(this Material mat, IndexGeneric <T> property) { property.SetOn(mat); return(mat); }
public static Material Set <T>(this Material mat, IndexGeneric <T> property, T value) => property.SetOn(mat, value);
public static MaterialPropertyBlock Set <T>(this MaterialPropertyBlock block, IndexGeneric <T> property, T value) { property.SetOn(block, value); return(block); }