Search Unity

Using Editor Scripting to Add To/Move Default Transform Buttons

Discussion in 'Scripting' started by The MC, Jul 25, 2011.

  1. The MC

    The MC

    Joined:
    Oct 31, 2005
    Posts:
    105
    Hey Guys,

    So I'm starting to work on some Editor Extensions, been reading up on the subject and such. So I know we can make custom editor windows and buttons, and extend the inspector. But what about the default Unity toolbar - can that be changed?

    Ultimately, what I'm trying to do is add a few more tools to the transform toolbox, so if anyone knows of any examples of this, or could point me to some resources, I'd very much appreciate it. Thanks in advance for any help.

    These are the buttons I'm talking about btw...
     

    Attached Files:

  2. appels

    appels

    Joined:
    Jun 25, 2010
    Posts:
    2,687
    hmm, i'm not a 100% sure but i don't think you can change those. I havent seen it before and there is nothing in the script ref about it.
     
  3. zine92

    zine92

    Joined:
    Nov 13, 2010
    Posts:
    1,347
    You can't really change the buttons to my knowledge because those are included as part of UnityEditor. But i know you can create buttons for your editor.
     
  4. The MC

    The MC

    Joined:
    Oct 31, 2005
    Posts:
    105
    Fair enough. Thanks for the heads-up guys. Appreciate it.