Esempio n. 1
0
 protected void SetSortingOrder_Effect(int _nNewOrder)
 {
     foreach (Renderer renderer in EffectRenderer)
     {
         renderer.sortingOrder = USpeedUILayerManager.CheckSortingOrderRange(_nNewOrder);
     }
 }
Esempio n. 2
0
 protected void SetSortingOrder_UI(int _nNewOrder)
 {
     UICanvasRenderer.overrideSorting = true;
     UICanvasRenderer.sortingOrder    = USpeedUILayerManager.CheckSortingOrderRange(_nNewOrder);
 }