A simple Unity application for tracking time during exams.
ExamTimer displays a real-time timer to help instructors and students monitor elapsed time during an exam. The timer is split into two values shown on screen:
| Display | Description |
|---|---|
| Top | Seconds elapsed within the current 30-second cycle (0–29) |
| Bottom | Number of completed 30-second intervals |
Tap (or click) anywhere on the screen to reset the timer back to zero.
The scene also spawns physics balls at regular intervals as a visual indicator.
- Engine: Unity
- Language: C# (.NET 3.5)
- Target platform: Android (also runnable on PC / Mac via Unity Editor)
Assets/
MainScene.cs # Main scene controller — timer logic and reset on click
Gui.cs # GUI layout helpers
Launcher.cs # Spawns ball objects at a configurable interval
Ball.cs # Ball physics controller (auto-destroys when off-screen)
MainScene.unity # Main Unity scene
ProjectSettings/ # Unity project configuration
examtimer.sln # Visual Studio solution
- Unity (developed with Unity 4.x)
- Visual Studio or MonoDevelop (optional, for editing C# scripts)
- Open Unity and select Open Project.
- Navigate to the root of this repository and open it.
- In the Project panel, open
Assets/MainScene.unity. - Press Play (▶) to run the timer.
- Go to File → Build Settings.
- Select Android and click Switch Platform.
- Click Build (or Build and Run to deploy directly to a connected device).
- The timer starts automatically when the scene loads.
- Click / tap anywhere on the screen to reset the timer.
- The top number counts up from 0 to 29 and then wraps back to 0.
- The bottom number increments by 1 every 30 seconds, giving the total number of completed 30-second intervals.
See LICENSE if available.