From Unify Community Wiki
Jump to: navigation, search
  • One disadvantage of changing this script from taking in Textures instead of Materials is that it can't be used as easily for GUIText buttons. It's nice for quick buttons to just have one font texture and alter the colors, sometimes.

Ah... when I changed the script the description on the page said that the script worked with GUITextures. I saw that the actual script used GUITexts and assumed the script was wrong and the description was correct. Using GUITextures requires using Textures as GUITextures don't have a material property. A way to work around this would be to create a new page called TextButton and paste the original script into that one. -- Keli

No problem at all, I may do that when I get around to it. :) Cheers ... By the way I thoroughly enjoyed what you did to Button and ToggleButton. I learned a lot.

The JS version of this script needs to be updated so it matches the C# version in functionality.--KeliHlodversson 13:26, 6 February 2007 (GMT)

Personal tools