Home || Previous || Next

 

Create Text Engine Project

Screen Shot 2015-12-03 at 13.37.58.png

Create Canvas

Screen Shot 2015-12-03 at 13.38.31.png

Turn on Screen Space – Camera

Screen Shot 2015-12-03 at 13.38.57.png

You don’t normally need to change anything about the EventSystem

Screen Shot 2015-12-03 at 13.39.41.png

Add a button from the Game Object -> UI -> Button

Screen Shot 2015-12-03 at 13.42.09.png

Screen Shot 2015-12-03 at 13.45.39.png

You don’t want GUI widgets but panels so that you can position things in one go – you can do this through the parent pannel.

Delete the button and add pannel. (Game Object -> UI -> Pannel)

Screen Shot 2015-12-03 at 13.43.37.png

You can now edit and transform this, including rotating.

Screen Shot 2015-12-03 at 13.45.03.png

You can add buttons to panels.

Screen Shot 2015-12-03 at 13.47.03.png

Edit it in 2D view to see what it looks like. (Parent text to Pannel)Screen Shot 2015-12-03 at 13.56.48.png

Now make the GUI pretty:

Screen Shot 2015-12-03 at 14.14.43.png

Button has onclick events or you can write a method/function for it.

Screen Shot 2015-12-03 at 14.16.08.png

Input field has On Value Change and End Edit

Screen Shot 2015-12-03 at 14.17.54.png

And Sliders have On Value Change

Screen Shot 2015-12-03 at 14.42.58.png

Changing these menus – buttons to display text in the information text box:

Screen Shot 2015-12-03 at 14.47.15.png

Calling on Information Text found in the hierarchy: Screen Shot 2015-12-03 at 14.47.47.png

Doing the same for the other buttons, I also for the Input field change the On Value Change

Screen Shot 2015-12-03 at 14.49.02.png

This is a video of what they do:

 

Making buttons be replaces with new text

Screen Shot 2015-12-03 at 15.22.41.png

On Happy Button

Screen Shot 2015-12-03 at 15.22.52.png

 

Home || Previous || Next

 

Advertisements