This repository contains solutions for the Unity Developer Skill Check assignments. The project is made with Unity 6. Each task focuses on different aspects of Unity development, from scripting to UI and editor tools.
Create a script AutoLookAt that makes an object (e.g., a cube) constantly look at a target object.
- Fields:
target(Transform) — the object to look atrotationSpeed— speed of rotation
- Behavior:
- Smooth rotation using
Quaternion.LerporRotateTowards
- Smooth rotation using
- Bonus:
- Add a
lockYAxisoption to rotate only around the vertical axis
- Add a
111.2025-10-07_20-21-35.mp4
Create a simple inventory system using UI Toolkit (recommended):
- Inventory items (e.g., buttons with item names)
- UI button: Add Item
- Clicking Add Item creates a new inventory item with a random name (e.g., "Sword", "Apple", etc.)
- Bonus: ability to remove items from the inventory
222.2025-10-07_20-24-02.mp4
Create an ObjectSpawner script:
- Holds a list of prefabs (
List<GameObject>) - Spawns a random prefab every N seconds
- Spawn location determined by a
Transform(spawnPoint) - Bonus: add a parameter to spawn objects within a radius around
spawnPoint
333.2025-10-07_20-25-42.mp4
Create a simple Editor script that adds an Align to Ground button in the object inspector:
- On click, it casts a Raycast downwards from the object and moves it to "stand" on the ground
- Bonus: adjust rotation to match the slope of the terrain at the position
444.2025-10-08_11-52-39.mp4
Create a script to save and load the position of an object to a file (JSON):
- UI or inspector buttons: Save and Load
- Data stored in
Application.persistentDataPath - Bonus: support saving multiple objects (e.g., using a
List)