{"id":22963121,"url":"https://github.com/samuelasherrivello/unity-project-template","last_synced_at":"2025-04-05T20:08:05.595Z","repository":{"id":63089175,"uuid":"337545056","full_name":"SamuelAsherRivello/unity-project-template","owner":"SamuelAsherRivello","description":"This repo represents the ideal starting point for new OOP Unity projects.  It includes best practices for project structure and C# coding standards.","archived":false,"fork":false,"pushed_at":"2025-01-11T20:46:54.000Z","size":4377,"stargazers_count":104,"open_issues_count":0,"forks_count":30,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-29T19:02:42.051Z","etag":null,"topics":["best-practices","coding-standards","design-patterns","unity","unity3d"],"latest_commit_sha":null,"homepage":"http://SamuelAsherRivello.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SamuelAsherRivello.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-09T21:46:03.000Z","updated_at":"2025-03-29T12:56:24.000Z","dependencies_parsed_at":"2023-01-29T02:31:36.696Z","dependency_job_id":"a0d91522-613b-4c65-9eeb-d327f2a65836","html_url":"https://github.com/SamuelAsherRivello/unity-project-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelAsherRivello%2Funity-project-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelAsherRivello%2Funity-project-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelAsherRivello%2Funity-project-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelAsherRivello%2Funity-project-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamuelAsherRivello","download_url":"https://codeload.github.com/SamuelAsherRivello/unity-project-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393570,"owners_count":20931812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["best-practices","coding-standards","design-patterns","unity","unity3d"],"created_at":"2024-12-14T19:20:42.031Z","updated_at":"2025-04-05T20:08:05.551Z","avatar_url":"https://github.com/SamuelAsherRivello.png","language":"C#","readme":"# Unity Project Template\n\n\u003cimg width=\"600\" src=\"./Unity/Assets/Documentation/Images/BestPractices.png\" alt=\"Best Practices\"\u003e\n\n\u003cBR\u003e\n\nThis repo represents the ideal starting point for new Unity projects.\n\nThe project includes best practices for **project structure** and **C# coding standards**.\n\n\u003cBR\u003e\n\n**Getting Started: Steps**\n1. Download this repo (*.zip or *.git)\n1. Download the [Unity Editor](https://store.unity.com/#plans-individual)\n1. Open this repo in the Unity Editor\n1. Enjoy\n\n\u003cBR\u003e\n\u003cBR\u003e\n\n**Getting Started: Video**\n\n\u003ca href=\"https://www.youtube.com/playlist?list=PL5domiITryHhlCKPSpiGuUt_kQg0nk3Of\"\u003e\u003cimg width=\"600\" src=\"https://i3.ytimg.com/vi/pXzLXNEW3bk/maxresdefault.jpg\" /\u003e\u003c/a\u003e\n\n\u003cBR\u003e\n\u003cBR\u003e\n\n## Table of Contents\n\n1. [About](#about)\n1. [Overview](#overview)\n1. [Best Practices](#best-practices)\n    * [Project Structure](#project-structure)\n    * [Coding Standards](#coding-standards)\n1. [Resources](#resources)\n1. [Credits](#credits)\n\n\n\n\u003cBR\u003e\n\u003cBR\u003e\n\n## About\n\n### Template Basics\n\nThis template contains the following:\n\n| Name                                                                                             | Description                                               |\n|-------------------------------------------------------------------------------------------------|-----------------------------------------------------------|\n| [Assembly Definitions](https://docs.unity3d.com/Manual/ScriptCompilationAssemblyDefinitionFiles.html) | Organize and optimize script compilation.                 |\n| [Best Practices: Coding Standards](https://www.samuelasherrivello.com/best-practices)            | Guidelines for consistent code style and format.          |\n| [Best Practices: Project Structure](https://www.samuelasherrivello.com/best-practices)           | Recommended project structure and organization.           |\n| [Cinemachine](https://docs.unity3d.com/Packages/com.unity.cinemachine@latest)                    | Advanced camera system for dynamic shots.                 |\n| [Physics](https://docs.unity3d.com/Manual/PhysicsSection.html)                                   | Physics simulation for 2D and 3D games.                   |\n| [ProBuilder](https://docs.unity3d.com/Packages/com.unity.probuilder@latest)                      | 3D modeling and level design toolset.                     |\n| [Rendering: Post-Processing](https://docs.unity3d.com/Packages/com.unity.postprocessing@latest)  | Visual effects like color grading and bloom.              |\n| [Rendering: URP](https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@latest)  | Efficient rendering pipeline for various platforms.       |\n| [Text Mesh Pro](https://docs.unity3d.com/Packages/com.unity.textmeshpro@latest)                  | High-quality text rendering and formatting.               |\n| [Unit Testing](https://docs.unity3d.com/Packages/com.unity.test-framework@latest)                | Automated tests to verify code stability.                 |\n| [Unit Testing: Code Coverage](https://docs.unity3d.com/Packages/com.unity.test-framework.codecoverage@latest) | Measure code tested during unit testing.                  |\n\n### More Templates\n\nIf you want these template basics **plus** additional features, check out the following:\n\n| Repository                                                                                         | Template Basics | AR  | VR  | Multiplayer | WebGPU | DOTS |\n|---------------------------------------------------------------------------------------------------|-----------------|-----|-----|-------------|--------|------|\n| [unity-project-template](https://github.com/SamuelAsherRivello/unity-project-template)             | ✅              | ❌  | ❌  | ❌          | ❌     | ❌   |\n| [unity-project-template-ar](https://github.com/SamuelAsherRivello/unity-project-template-ar)       | ✅              | ✅  | ❌  | ❌          | ❌     | ❌   |\n| [unity-project-template-vr](https://github.com/SamuelAsherRivello/unity-project-template-vr)       | ✅              | ❌  | ✅  | ❌          | ❌     | ❌   |\n| [unity-project-template-coherence-multiplayer](https://github.com/SamuelAsherRivello/unity-project-template-coherence-multiplayer) | ✅              | ❌  | ❌  | ✅          | ❌     | ❌   |\n| [unity-multiplayer-ngo-2d-playground](https://github.com/SamuelAsherRivello/unity-multiplayer-ngo-2d-playground) | ✅              | ❌  | ❌  | ✅          | ❌     | ❌   |\n| [unity-project-template-webgpu](https://github.com/SamuelAsherRivello/unity-project-template-webgpu) | ✅              | ❌  | ❌  | ❌          | ✅     | ❌   |\n| [rmc-dots-examples](https://github.com/SamuelAsherRivello/rmc-dots-examples)                       | ✅              | ❌  | ❌  | ❌          | ❌     | ✅   |\n\n\n\n\u003cBR\u003e\n\u003cBR\u003e\n\n\n## Overview\n\n### Features\n\nThis project is a living template. It showcases the best practices and coding standards for many common workflows.\n\n\u003cimg width = \"600\" src=\"./Unity/Assets/Documentation/Images/Screenshot.png\" /\u003e\n\n### Structure\n\n**Documentation**\n* `ReadMe.md` - The primary documentation for this repo\n* `Unity/Assets/Documentation/ReadMe.asset` - Select this asset in Unity to get started\n\n**Configuration**\n* `Unity Target` - [Standalone MAC/PC](https://support.unity.com/hc/en-us/articles/206336795-What-platforms-are-supported-by-Unity-)\n* `Unity Version` - Use this [Version](./Unity/ProjectSettings/ProjectVersion.txt)\n* `Unity Rendering` - [Universal Render Pipeline (URP)](https://docs.unity3d.com/Manual/universal-render-pipeline.html)\n* `Unity Aspect Ratio` - [Game View 10x16](https://docs.unity3d.com/Manual/GameView.html)\n\n**Structure**\n* `Unity/` - Open this folder in the Unity Editor\n* `Unity/Assets/Scenes/` - Open any Scene. Press 'Play'!\n\n**Dependencies**\n* `Various` - Already included via [Unity Package Manager](https://docs.unity3d.com/Manual/upm-ui.html) as this [Version](./Unity/Packages/manifest.json)\n\n\u003cBR\u003e\n\u003cBR\u003e\n\n## Best Practices\n\n### Project Structure\n\nEmploying an organized project structure is beneficial to your project and your team.\n\nSee the \u003ca href=\"./Unity/Assets/\"\u003eUnity/Assets/\u003c/a\u003e folder for more info.\n\nScope Includes:\n* Folder Structure\n* Folder Naming\n* File Naming\n\nBenefits:\n\n* Consistency — The project structure has consistency in presentation regardless of team location, spoken language, or individual programmers.\n* Maintenance — Consistent project structure will aid readability. Readability helps new and existing programmers revisit the code base for fixes and improvements.\n* Communication — Developers more implicitly understand each other in written and verbal communication.\n\n### Coding Standards\n\nCoding standards define a programming style. \n\nSee the \u003ca href=\"./Unity/Assets/Scripts/Runtime/RMC/Templates\"\u003eUnity/.../Templates/\u003c/a\u003e folder for more info.\n\nEmploying organized coding standards is beneficial to your project and your team.\n\nScope Includes:\n\n* Naming Conventions\n* File Naming and Organization\n* Formatting and Indentation\n* Comments and Documentation\n* Classes, Functions and Interfaces\n* Testing\n\nBenefits:\n\n* Code Integration\n* Team Member Integration\n* Maintenance\n* Uniform Problem Solving\n* Minimizes Communication\n* Minimizes Performance Pitfalls\n* Saves Money Due to Less Man Hours \n\n\u003cBR\u003e\n\u003cBR\u003e\n\n## Resources\n\nHere are more articles from Samuel Asher Rivello.\n\n**Portfolio**\n* [SamuelAsherRivello.com/best-practices](https://www.SamuelAsherRivello.com/best-practices)\n\n**Medium**\n* [Best Practices — 1 — Unity Project Structure](https://samuel-asher-rivello.medium.com/unity-project-structure-a694792cefed)\n* [Best Practices — 2 — Unity C# Coding Standards](https://samuel-asher-rivello.medium.com/coding-standards-in-c-39aefee92db8)\n* [Best Practices — 3 — Unity Overview](https://samuel-asher-rivello.medium.com/best-practices-3-unity-8abcce214ddc)\n* [Best Practices — 4 — MVC Architecture For Unity](https://samuel-asher-rivello.medium.com/unleashing-the-power-of-mvc-architecture-in-unity-a-journey-of-structured-game-development-492ef9c53817)\n* [Best Practices — 5 — Unit Testing For Unity](https://samuel-asher-rivello.medium.com/unity-testing-for-unity-elevating-your-game-development-skills-eb76fc0bbea3)\n\n\u003cBR\u003e\n\u003cBR\u003e\n\n## Credits\n\n**Created By**\n\n- Samuel Asher Rivello\n- Over 25 years XP with game development (2025)\n- Over 10 years XP with Unity (2025)\n\n**Contact**\n\n- Twitter - \u003ca href=\"https://twitter.com/srivello/\"\u003e@srivello\u003c/a\u003e\n- Git - \u003ca href=\"https://github.com/SamuelAsherRivello/\"\u003eGithub.com/SamuelAsherRivello\u003c/a\u003e\n- Resume \u0026 Portfolio - \u003ca href=\"http://www.SamuelAsherRivello.com\"\u003eSamuelAsherRivello.com\u003c/a\u003e\n- LinkedIn - \u003ca href=\"https://Linkedin.com/in/SamuelAsherRivello\"\u003eLinkedin.com/in/SamuelAsherRivello\u003c/a\u003e \u003c--- Say Hello! :)\n\n**License**\n\nProvided as-is under \u003ca href=\"./LICENSE\"\u003eMIT License\u003c/a\u003e | Copyright ™ \u0026 © 2006 - 2025 Rivello Multimedia Consulting, LLC\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelasherrivello%2Funity-project-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelasherrivello%2Funity-project-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelasherrivello%2Funity-project-template/lists"}