Search Unity

  1. Full schedule for #UniteBerlin is now available! Featuring talks on our roadmap, hands-on labs and much more! Check it out!
    Dismiss Notice
  2. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  3. Scriptable Render Pipeline improvements, Texture Mipmap Streaming, and more! Check out what we have in store for you in the 2018.2 Beta.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Keep our nearest ANCHOR-EDGE relative to a sibling's rect

Discussion in 'Extensions & OnGUI' started by IgorAherne, Jun 10, 2017.

  1. IgorAherne

    IgorAherne

    Joined:
    May 15, 2013
    Posts:
    263
    [Code removed by author since caused lots of bugs]
    //Avoid building a layout system by manually "hacking" position of nested rectTransforms, unity doesn't like it
     
    Last edited: May 17, 2018
  2. diego_mp

    diego_mp

    Joined:
    Jun 12, 2017
    Posts:
    4
    DivideBy and MultiplyBy are not defined.