Author Topic: Widget tool and Templates  (Read 2248 times)

fuileanbh

  • Guest
Widget tool and Templates
« 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. 

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Widget tool and Templates
« Reply #1 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.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Widget tool and Templates
« Reply #2 on: March 31, 2013, 06:53:30 PM »
It's the UICreateWidgetWizard.cs script that sets it up, if you didn't know. :)

fuileanbh

  • Guest
Re: Widget tool and Templates
« Reply #3 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!