Is it possible to Change Editor Skin via Code

Hi,

I’m trying to add custom skin for GameTab/window, but I’m unable to do so using code. I’m ok even if we do it by adding new skin from unity preference as well.

Kindly let me know if it possible or not.

Note : I’m using Unity Pro.

Regards,
Abhishek Shinde.

1382998--70527--$Screen Shot 2013-10-11 at 2.24.58 PM.png

You don’t want to do that. Unity takes care of what skin it uses so it your text looks best on both Free and Pro.

However, you can change the output of your drawing methods, because you can use your own GUIStyles when rendering.

I did quite a few custom renderers for my project, even generating GUIStyles programatically. The key thing is caching: if generating something, do it once (Singleton).