Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Source code of open button from inspector

Discussion in 'UI Toolkit' started by geletakrzysztof1997, Nov 18, 2019.

  1. geletakrzysztof1997

    geletakrzysztof1997

    Joined:
    Jun 26, 2019
    Posts:
    2
    Hi guys,
    I'm working on some sort of unity editor extension. Basically I'm generating a text file and saving it in Resources directory. I'd like to automatically open the file when it's created. Is there an easy way to achieve the same functionality as the open button from inspector (it's opening file in your IDE)?
     
  2. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    1,231