We will now create the scoring of the game. This will track down the score of the player every time the enemy is defeated. To do that go to GameObject and select UI, then choose Text. After creating the text set the components as shown below.
Score
Next create another UI Text as a child of the component above. Then set the components as shown below.
First create a new scene by pressing ctrl + n then save it in the scene directory as "Level Menu".
Set the component value of the canvas as shown below.
Level Menu UI
Next create a image and new canvas will be created at the same time.
In the Unity environment you will notice an Untitled object in the Hierarchy area. That is the name of the scenes by default, to change it just simply press ctrl + s and save it as Main Menu.
Creating Controllers
Now that we have the main menu scene we will now create Controllers for the game. The Controllers are game objects that handle some methods that be needed in the game later.
First thing to do is to set up our Game resolution, to do that click the game tab then go to "Free Aspect" it is just below of Game tab. Then click the add button (the one that looks like +) and enter the value of each properties.
First you will need to download & install Unit Game Engine, here's the link for the https://store.unity.com/.
After the Unity Game Engine is installed, open the unity game engine then we will get started.
Here is the interface of the unity game engine when open.
Click "New", and then enter the project name "Cannon Siege".
Learn on how to create a simple game called Cannon Siege using a Unity Game Engine and a C# script. Unity is a cross-platform game engine developed by Unity Technologies. Unity is a multipurpose game engine that supports 2D and 3D graphics, drag-and-drop functionality and scripting using C#. It is used to develop video games for web plugins, desktop platforms, consoles and mobile devices.