This repo represents the ideal starting point for new Unity projects.
The project includes best practices for project structure and C# coding standards as well as packages for ShaderGraph and VFXGraph.
In addition to all the template basics, this repo also includes:
Name | Description |
---|---|
Rendering: URP | Efficient rendering pipeline for various platforms. |
Rendering: Post-Processing | Visual effects like color grading and bloom. |
Rendering: Shader Graph | Node-based shader development. |
Rendering: VFX Graph | Node-based visual effects development. |
Getting Started: Steps
- Download this repo (*.zip or *.git)
- Download the Unity Editor
- Open this repo in the Unity Editor
- Enjoy
Getting Started: Video
This template contains the following:
Name | Description |
---|---|
Assembly Definitions | Organize and optimize script compilation. |
Best Practices: Coding Standards | Guidelines for consistent code style and format. |
Best Practices: Project Structure | Recommended project structure and organization. |
Cinemachine | Advanced camera system for dynamic shots. |
Physics | Physics simulation for 2D and 3D games. |
ProBuilder | 3D modeling and level design toolset. |
Rendering: Post-Processing | Visual effects like color grading and bloom. |
Rendering: URP | Efficient rendering pipeline for various platforms. |
Text Mesh Pro | High-quality text rendering and formatting. |
Unit Testing | Automated tests to verify code stability. |
Unit Testing: Code Coverage | Measure code tested during unit testing. |
If you want these template basics plus additional features, check out the following:
Repository | Template Basics | AR | VR | Multiplayer | WebGPU | DOTS |
---|---|---|---|---|---|---|
unity-project-template | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
unity-project-template-ar | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ |
unity-project-template-vr | ✅ | ❌ | ✅ | ❌ | ❌ | ❌ |
unity-project-template-coherence-multiplayer | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ |
unity-multiplayer-ngo-2d-playground | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ |
unity-project-template-webgpu | ✅ | ❌ | ❌ | ❌ | ✅ | ❌ |
rmc-dots-examples | ✅ | ❌ | ❌ | ❌ | ❌ | ✅ |
This project is a living template. It showcases the best practices and coding standards for many common workflows.
Documentation
ReadMe.md
- The primary documentation for this repoUnity/Assets/Documentation/ReadMe.asset
- Select this asset in Unity to get started
Configuration
Unity Target
- Standalone MAC/PCUnity Version
- Use this VersionUnity Rendering
- Universal Render Pipeline (URP)Unity Aspect Ratio
- Game View 10x16
Structure
Unity/
- Open this folder in the Unity EditorUnity/Assets/Scenes/
- Open any Scene. Press 'Play'!
Dependencies
Various
- Already included via Unity Package Manager as this Version
Here are more articles from Samuel Asher Rivello.
Portfolio
Medium: Rendering
- Unity Rendering — 1 — Overview – High-level intro to the series
- Unity Rendering — 2 — URP Pipeline – The basics on the universal rendering
- Unity Rendering — 3 — RenderGraph – Complete customization of pipeline
- Unity Rendering — 4 — ShaderGraph – Node-based shader creation
- Unity Rendering — 5 — VFXGraph – Low-code/no-code for particle effects
- Unity Rendering — 6 — Optimization – Increase runtime performance
Medium: Best Practices
- Best Practices — 1 — Unity Project Structure
- Best Practices — 2 — Unity C# Coding Standards
- Best Practices — 3 — Unity Overview
- Best Practices — 4 — MVC Architecture For Unity
- Best Practices — 5 — Unit Testing For Unity
Unity Rendering - 1 - Overview Unity Rendering - 2 - URP Pipeline Unity Rendering - 3 - RenderGraph Unity Rendering - 4 - ShaderGraph Unity Rendering - 5 - VFXGraph Unity Rendering - 6 - Optimization
Created By
- Samuel Asher Rivello
- Over 25 years XP with game development (2024)
- Over 11 years XP with Unity (2024)
Contact
- Twitter - @srivello
- Git - Github.com/SamuelAsherRivello
- Resume & Portfolio - SamuelAsherRivello.com
- LinkedIn - Linkedin.com/in/SamuelAsherRivello <--- Say Hello! :)
License
Provided as-is under MIT License | Copyright ™ & © 2006 - 2024 Rivello Multimedia Consulting, LLC