How can you implement such a button in a unit with dynamic text? https://youtu.be/SbnbyyTXyoM

    1 answer 1

    Add a Mask component to the button (Mask or RectMask2D, depending on specific requirements). and then all child objects will not be displayed outside such a mask.