using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class FixProgressSection : MonoBehaviour
{
    public RectTransform placeholder;
    public RectTransform realOcupant;

    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        realOcupant.anchorMax = placeholder.anchorMax;
        realOcupant.anchorMin = placeholder.anchorMin;
        realOcupant.pivot = placeholder.pivot;
        realOcupant.anchoredPosition = placeholder.anchoredPosition;
        realOcupant.sizeDelta = placeholder.sizeDelta;
    }
}
