Hello Guest

Author Topic: Does 2D Toolkit allow you to customize GUI?  (Read 4007 times)

cokecat

  • Newbie
  • *
  • Posts: 1
    • View Profile
Does 2D Toolkit allow you to customize GUI?
« on: January 19, 2014, 09:30:19 pm »
I've been trying to decide if I want to get 2D Toolkit, but what I can't find out is how much can I customize GUI elements provided by 2D Toolkit, I can make my buttons look any way I want, right? Or am I stuck with how they are provided?

Also, if I need to create new GUI elements not provided , can it work well with Unity's existing GUI framework?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Does 2D Toolkit allow you to customize GUI?
« Reply #1 on: January 20, 2014, 12:00:15 pm »
You can customise the gui in any way you want. The difficulty of doing so varies with the tasks - so if you just want to change the skin - that is pretty trivial. You would just create your own copy of the control prefabs, assign your own sprites / fonts to it.

If you need to create new GUI elements, it can work with Unity GUI, but thats a completely different system with a completely different programming paradigm. It might be easier to customise tk2d UI for it, but maybe not. I can recommend something if you have a more specific question about what you need to do. tk2dUI is meant to simplify the most common tasks in games, e.g. menus, buttons, sliders and so on.

The back end isn't commented and can get quite complicated, but feel free to post here if you're stuck, we're always happy to help :)