Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
unity-at-github committed Jan 5, 2024
0 parents commit b1ce9ed
Show file tree
Hide file tree
Showing 384 changed files with 48,393 additions and 0 deletions.
74 changes: 74 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
; see http://editorconfig.org/ for docs on this file

root = true

[*]
ignore_if_in_header = This code was generated by a tool|<auto-generated>
indent_style = space
indent_size = 4
; uncomment to help with sharing files across os's (i.e. network share or through local vm)
#end_of_line = lf
; avoid a bom, which causes endless problems with naive text tooling
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
; keeping auto-format enabled helps avoid merge hell for projects without CI-based format validation
disable_auto_format = true

[*.cs]
; uncomment to enable full formatting of c# files
formatters = generic, uncrustify

[*.asmdef]
scrape_api = false

[**/Tests/**.asmdef]
scrape_api = false

[*.Tests.asmdef]
scrape_api = false

[*.md]
indent_size = 2
; trailing whitespace is unfortunately significant in markdown
trim_trailing_whitespace = false
; uncomment to enable basic formatting of markdown files
#formatters = generic

[{Makefile,makefile}]
; tab characters are part of the Makefile format
indent_style = tab

[*.asmdef]
indent_size = 4

[*.json]
indent_size = 2

[*.{vcproj,bat,cmd,xaml,tt,t4,ttinclude}]
end_of_line = crlf

; this VS-specific stuff is based on experiments to see how VS will modify a file after it has been manually edited.
; the settings are meant to closely match what VS does to minimize unnecessary diffs.
[*.{vcxproj,vcxproj.filters}]
indent_style = space
indent_size = 2
end_of_line = crlf
charset = utf-8-bom
trim_trailing_whitespace = true
insert_final_newline = false
; must be broken out because of 51-char bug (https://github.com/editorconfig/editorconfig-visualstudio/issues/21)
[*.{csproj,pyproj,props,targets}]
indent_style = space
indent_size = 2
end_of_line = crlf
charset = utf-8-bom
trim_trailing_whitespace = true
insert_final_newline = false
[*.{sln,sln.template}]
indent_style = tab
indent_size = 4
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
* text=auto

# Unity insists using LF for its text assets so prevent changing them to CRLF
*.unity text eol=lf
*.prefab text eol=lf
*.asset text eol=lf
*.meta text eol=lf
*.json text eol=lf
*.mat text eol=lf
*.mesh text eol=lf
*.txt text eol=lf
22 changes: 22 additions & 0 deletions .github/workflows/validate_catalog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#Validation script for megacity-metro
#This is used to validate your catalog-info.yaml

name: Validate Catalog-info.yaml
on:
pull_request:
paths:
- 'catalog-info.yaml'
push:
paths:
- 'catalog-info.yaml'
branches: [dev]

jobs:
validate_catalog:
runs-on: ubuntu-latest
steps:
- id: 'Checkout'
uses: actions/checkout@v3

- id: 'Validate'
uses: 'RoadieHQ/[email protected]'
102 changes: 102 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# This .gitignore file should be placed at the root of your Unity project directory
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore

# Specific for this project:
# If the IET for the project contains "Add Open Scenes" step, first remove EditorBuildSettings.asset,
# commit, and then uncomment and commit a change to the line below.
#/ProjectSettings/EditorBuildSettings.asset

# A marker file of which existence is used to decide whether to run the first-launch experience or not.
InitCodeMarker

# Packed templates go here
upm-ci~/
upm-ci.log

# Add-Ons go here
addons/

# WebGL Publisher artefacts and default build folder
webgl_sharing
connectwebgl.zip
/WebGL Builds/

# Never ignore Asset meta data...
!/[Aa]ssets/**/*.meta

# ...except for Microgame Add-Ons
/Assets/AddOns.meta

# IET has a feature to back up the project's content, let's ignore the possible backups.
/[Tt]utorial [Dd]efaults/

# The rest are general best practices for Unity projects
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
/[Mm]emoryCaptures/

# Project/user-specific settings using Settings Manager
/ProjectSettings/Packages/

# UserSettings introduced in 2020.1
/UserSettings/

# Not interested in packages-lock as we're not a real project.
/Packages/packages-lock.json

# Uncomment this line if you wish to ignore the asset store tools plugin
/[Aa]ssets/AssetStoreTools*

# Autogenerated Jetbrains Rider plugin
[Aa]ssets/Plugins/Editor/JetBrains*

# Visual Studio cache directory
.vs/

# Visual Studio Code settings directory
.vscode/

# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D generated file on crash reports
sysinfo.txt

# Builds
*.apk
*.unitypackage

# Crashlytics generated file
crashlytics-build.properties
*.orig
*.orig.meta

# Ignore build reports
/Assets/BuildReports*
Loading

0 comments on commit b1ce9ed

Please sign in to comment.