Esempio n. 1
0
 static public void SetSortingLayerAndOrder(this Renderer item, SortingLayerEX layer, int order)
 {
     item.SetSortingLayer(layer);
     item.SetSortingOrder(order);
 }
Esempio n. 2
0
 static public void SetSortingLayer(this Renderer item, SortingLayerEX layer)
 {
     item.sortingLayerID = layer.IfNotNull(l => l.GetId());
 }