Giter Site home page Giter Site logo

samuelasherrivello / unity-project-template Goto Github PK

View Code? Open in Web Editor NEW
55.0 1.0 20.0 2.04 MB

Unity Best Practices for Project Structure and C# Coding Standards. It is a recommended starting point for new projects.

Home Page: http://SamuelAsherRivello.com

C# 100.00%
unity design-patterns best-practices coding-standards unity3d

unity-project-template's Introduction

Unity Project Template

This repo includes Project Structure Best Practices and C# Coding Standards for Unity.

Best Practices

Getting Started

  1. Download this repo (*.zip or *.git)
  2. Download the Unity Editor
  3. Open this repo in the Unity Editor
  4. Enjoy

Videos

This Unity Project is featured in the following YouTube video playlist.

Unity Game Dev - In 3 Mins

Features

This project is a living template. It showcases the best practices and coding standards for many common workflows.

Includes Templates For ...

  • Git Repo - Structure, .gitignore, ReadMe.md
  • Scene Hiearchy Window - Structure
  • Project Window - Structure
  • Inspector Window - ReadMe.asset
  • Runtime Coding
  • Editor Coding
  • Unit Testing

Overview

Documentation

  • ReadMe.md - The primary documentation for this repo
  • Unity/Assets/Documentation/ReadMe.asset - Select this asset in Unity to get started

Configuration

Structure

  • Unity/ - Open this folder in the Unity Editor
  • Unity/Assets/Scenes/ - Open any Scene. Press 'Play'!

Dependencies


More

A. Unity — Project Structure Best Practices

Employing an organized project structure is beneficial to your project and your team.

Scope:

  • Folder Structure
  • Folder Naming
  • File Naming

Benefits:

  • Consistency — The project structure has consistency in presentation regardless of team location, spoken language, or individual programmers.
  • Maintenance — Consistent project structure will aid readability. Readability helps new and existing programmers revisit the code base for fixes and improvements.
  • Communication — Developers more implicitly understand each other in written and verbal communication.

B. Coding Standards

Coding standards define a programming style.

See the repo's C# Templates for more info.

Employing organized coding standards is beneficial to your project and your team.

Scope:

  • Naming Conventions
  • File Naming and Organization
  • Formatting and Indentation
  • Comments and Documentation
  • Classes, Functions and Interfaces
  • Testing

Benefits:

  • Code Integration
  • Team Member Integration
  • Maintenance
  • Uniform Problem Solving
  • Minimizes Communication
  • Minimizes Performance Pitfalls
  • Saves Money Due to Less Man Hours

Resources

Created By

  • Samuel Asher Rivello
  • Over 24 years XP with game development (2024)
  • Over 11 years XP with Unity (2024)

Contact

unity-project-template's People

Contributors

samuelasherrivello avatar srivellobeamable avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.