Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: fuileanbh on March 31, 2013, 04:49:17 PM

Title: Widget tool and Templates
Post by: fuileanbh on March 31, 2013, 04:49:17 PM
I would like to know if there is an established way to build my own widget templates. I guess I could prototype my objects as prefabs within Unity, but it would save monumental amounts of time if i could create a template for use within the Widget tool. 
Title: Re: Widget tool and Templates
Post by: Nicki on March 31, 2013, 06:52:18 PM
There's not really any established way of doing this, but you are welcome to extend the editor script that does the defaults that are in there now. Alternatively, like you said, make prefabs and use those as templates.
Title: Re: Widget tool and Templates
Post by: Nicki on March 31, 2013, 06:53:30 PM
It's the UICreateWidgetWizard.cs script that sets it up, if you didn't know. :)
Title: Re: Widget tool and Templates
Post by: fuileanbh on March 31, 2013, 06:57:22 PM
Actually, that helps. I think I can figure out how to build new templates, now that I have a good starting point. Thanks!