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

Custom Inspector Script Source

Discussion in 'Scripting' started by geetoo, Jul 22, 2012.

  1. geetoo

    geetoo

    Joined:
    Apr 21, 2009
    Posts:
    42
    Hi all,

    I wrote my first (simple) CustomInspector script, and with the help of the Unity doc, it wasn't that hard :)
    But doing so, I removed the "Script" property in the default inspector (the one which let me open the C# script source by double clicking it).
    How can I add it in my custom inspector ?

    Thanks a lot.
     
  2. geetoo

    geetoo

    Joined:
    Apr 21, 2009
    Posts:
    42
    Anyone ?
     
  3. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    Just right click the toolbar, then click "Edit Script". Almost as fast.