If it comes to creating buttons and functionality with the new Unity 4.6 UI System it is not as complicated as one can think it is. The only tricky thing at the beginning may be linking everything together as well as playing around with layout to get it exactly as you want it. I have downloaded sci-fi interface textures so to be able to start working on main menu screen. So far there is only one button-Play, which I will be working on later to simply make it look better. But most important thing is that I got it exactly where I wanted it to be and it is working, when the button is clicked it launches intro animation scene. Later I will add more buttons such as Instructions and Credits and maybe some more if needed. I have created simple UI Manager object that will handle all scene changes which means I'm always going to be using the same code- nothing here is hard coded. This is thanks to how new UI system works in Unity each button can have the same functionality attached but it will still link to different scenes.
Main menu also contains simple glow animations made within Unity by using Mecanim.
Below you can see the current state of my main menu-it will be updated soon- the black area will probably be used to display some images from gameplay/animation scenes.
No comments:
Post a Comment