Search Unity

Showcase Advanced Layout Element - Another tool for your Arsenal

Discussion in 'UGUI & TextMesh Pro' started by apilola, Apr 12, 2023.

  1. apilola

    apilola

    Joined:
    Jul 27, 2018
    Posts:
    17
    I have been using a variation of this Component in many projects now and I finally decided to share it!

    The Advanced Layout Element is a simple component that aims to give you more control when setting up a UI layout. The main feature of the component is that it allows you to source a Rect Transfrorm's desired height or width from another component in your scene. While the Advanced Layout Element is usually used in combination with a Layout Group, the Advanced Layout Element can be made to act indepedently of any Layout Group.

    I think intermediate to advanced users will find this component most useful. I think you will find that even though it is a very simple component its also very powerful.

    The code can be found over on github:
    https://github.com/apilola/advanced-layout-element


    Example Use Case
    Element_Showcase.gif


    Inspector Screen Shot
    Inspector_Annotated.jpg