Search Unity

Navigate to settings by code

Discussion in 'Editor & General Support' started by Vifi, Feb 17, 2020.

  1. Vifi

    Vifi

    Joined:
    Aug 5, 2013
    Posts:
    28
    Hi,
    i am looking for way to navigate to terrain > Paint trees tab by pressing button on some custom created window.
    I can provide terrain object and navigate to it by "Selection.activeObject = terrain" but i have no idea how to change tabs to "Paint trees".
    Is there any way to do it?

    Thanks for help in advance! Have a great day!
     
  2. Vifi

    Vifi

    Joined:
    Aug 5, 2013
    Posts:
    28
    Bump.
    I found out that it is possible to navigate in terrain inspector by shortcuts and "F5" is changing tab to Paint Trees. Now i am looking for way to use this command from shortcuts as i would press F5.