Search Unity

Do empty RectTransforms have any kind of performance impact?

Discussion in 'UGUI & TextMesh Pro' started by Paniku, Jan 22, 2016.

  1. Paniku

    Paniku

    Joined:
    Apr 11, 2013
    Posts:
    24
    On mobile, I know individually it's probably negligible, however I have a UI element that can sometimes be of up to 50 active at one time, and they each have an empty parent RectTransform. These elements also move around a lot and stretch to the screen rather than being a constant pixel amount. Should these empty transforms be avoided or would it still be a negligible performance hit?
     
  2. SimonDarksideJ

    SimonDarksideJ

    Joined:
    Jul 3, 2012
    Posts:
    1,689
    Not as far as I'm aware, when they are empty they don't have any visual impact and are simply used as bounding containers for child elements.
    No more performance impact to other Empty GO types