Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

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.