Activity # 4:
John Lloyd B. Galvante
John Christian Caraga
BS-EMC 2A, INTRO TO GAMING DESIGN AND DEVELOPMENT
In this blog, we will show you how to create a coin counter using UNITY and use of UI and its components.
We start by doing the text script for coin counter and score board.
In the main camera, when you drag the coin in the scene it will also be added to the hierarchy, to simply increase and decrease the coin,
The script for the coins will be:
The components used to make the game, for player, coins and scoreboard.
For player:
For coins:
For Scoreboard:
What is U.I?
Unity UI is a UI toolkit for developing user interfaces for games and applications. It is a Game Object-based UI system that uses Components and the Game View to arrange, position, and style user interfaces. You cannot use Unity UI to create or change user interfaces in the Unity Editor.