

- Add an UI Image for Timer
- Add Timer UI to “Source Image”
- Press “Set Native Size”
- Add Timer UI to “Source Image”

- Add a UI Text for Timer Counter
- Add Text for the default value
- Change Font Style to “Bold”, Font Size to “30”
- Add “Timer Controller” Script
- Change Anchor to “Top-Right”

- Get the Reference for TimeUI
- Claim “startTime”, “ellapsedTime” and “startCounter” as flag
- Claim “minutes” and “seconds”
- In “Start()” method
- Set the flag to false
- Get the Component of “Text”
- Create a Function, “StartTimeCounter()” to start the Timer
- Get the current time when the timer is started
- Set the Flag to True
- Create a Function, “StopTimeCounter()” to stop the Timer
- Set the Flag to False
- In “Update()” method,
- if the flag is True (when it is on)
- Get the Elapsed Time by subtracting “startTime” from the Current Time in this very frame
- Get the minute and second based on the Elapsed Time
- Update the Timer UI by accessing the Text Property with String.Format
- if the flag is True (when it is on)

- Add codes to Start and Stop the Timer
- Get the Component of “TimerCounter” Class to use “StartTimeCounter()” and “StopTimeCounter()”


- Add “Game Title” image on the Hierarchy
- Set the sorting layer to “Effect”

- Add Codes to Turn on & off Game Title by using “GameObject.SetActive()”
- When Case “Opening”,
- Set Game Title On
- When Case “GamePlay”
- Set Game Title Off
- When Case “Opening”,

































