public static void RegisterRender(SortingOrderByRenderer renderer)
 {
     if (!s_Renderers.Contains(renderer))
     {
         s_Renderers.Add(renderer);
     }
 }
 public static void UnregisterRender(SortingOrderByRenderer renderer)
 {
     RemoveItem(s_Renderers, renderer);
 }
 private static int RendererSorter(SortingOrderByRenderer x, SortingOrderByRenderer y)
 {
     return(GetDepth(x.transform) - GetDepth(y.transform));
 }