This is a collection of Unity sample projects. Each one focuses on a specific topic with a sample implementation.
- Setup Unity Editor with Unity Quick Setup Guide.
- Setup your Git client with Git Quick Setup Guide.
How to use the animation system in Unity
- Setting up the Animation controller (state machine), animator and motion clips.
- Importing models and animations from Mixamo using this guide: Importing animations from Mixamo.
- Changing character models on imported animations with this guide: How to Change your Character Model in the 3rd Person Template .
How to play Audio clips in Unity
- Playing sound or music from an audio clip from an Audio Manager
- Playing sounds from an Audio Source from the scene
Explore how Game Objects work in Unity
- Find an object in the scene
- Get a component from a game object
- Instantiating a game object from a prefab
- Destroying a game object
- Transform: Translation, Rotation and Scaling
How to use NavMesh to implement a simple game with AI Agents
- NavMesh features
- NavMesh Agent
- NavMesh Areas
- NavMesh Objects
- NavMesh Obstacle (component) and carving the mesh in real-time
- Off Mesh Links
- Hide and seek sample game (inspired from Metal Gear Solid)
Explore how the new Input System package works and compare it to the legacy one
- Player Input Actions
- Local Multiplayer
- Splitscreen Multiplayer
Understanding the physics system in Unity
- Rigidbody
- Colliders
- Static Collider
- Rigidbody Collider
- Kinematic Rigidbody Collider
- Triggers
- Static Trigger Collider
- Rigidbody Trigger Collider
- Kinematic Rigidbody Trigger Collider
- Collision Layers
- Demo of all possible types of collisions: Interactions between collider types
A sample implementation of a 2D side scroller game based on assets from the Asset Store
- Tile Palettes
- Spritesheets
- Animation system (for 2D sprites)
How to implement a simple user interface
- Main menu with buttons
- Options menu with dropdowns, sliders and input boxes.
- Heads-up display with HP/MP bars
- Scene transitions