public void SortCompLayerChange(Consts.DrawLayers newLayer, Transform newParent)
    {
        currParent = transform.parent = newParent;
        LayerSortComp.LayerChange(newLayer, true);
        SendChangeToTracker();

        // TODO: Should also have a version that changes the layer order
        // Possibly one that specifies whether to change the sprite renderer or sorting group specifically, but this is fine for now.
    }
 protected virtual void Update()
 {
     if (currParent != transform.parent)
     {
         currParent = transform.parent;
         LayerSortComp.ResetGroupParent();
         SendChangeToTracker();
     }
 }
 public void SortCompLayerChange(Consts.DrawLayers newLayer)
 {
     LayerSortComp.LayerChange(newLayer, false);
     SendChangeToTracker();
 }
 public void SortCompResetToBase(Transform newBaseParent)
 {
     currParent = baseParent = transform.parent = newBaseParent;
     LayerSortComp.LayerReset();
     SendChangeToTracker();
 }
 public void SortCompResetToOriginal()
 {
     currParent = transform.parent = origParent;
     LayerSortComp.LayerReset();
     SendChangeToTracker();
 }
 public void SortCompLayerReset()
 {
     LayerSortComp.LayerReset();
     SendChangeToTracker();
 }