Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
2c920df
Updated Template to unity 6000.5.4f1
GalteXx Jul 21, 2026
9c1c6fa
Updated Packages
GalteXx Jul 23, 2026
b1eee45
Updated services registration
GalteXx Jul 23, 2026
20f34d0
added .editorconfig, formatted accordingly
GalteXx Jul 23, 2026
07a617b
Installed Facepunch Steamworks
GalteXx Jul 23, 2026
f184b9e
Changed Steamworks for upm package
GalteXx Jul 23, 2026
41475d5
Added stylecop.analyzers and updated gitignore
TaggedDev Jul 24, 2026
a7fa7a8
Cleaned up .editorconfig and added a sample file
TaggedDev Jul 24, 2026
ddc57d0
Added bash script for quick format check
TaggedDev Jul 24, 2026
63b1fa0
Update on editorconfig for enum
TaggedDev Jul 24, 2026
34b788c
Temporary code style asmdef
TaggedDev Jul 24, 2026
4657575
Updated wrap over chop for long lines
TaggedDev Jul 24, 2026
1e08b56
Now single argument stays on the same line
TaggedDev Jul 24, 2026
b72322e
Updated Stylecop, added team-shared DotSettings
TaggedDev Jul 24, 2026
34fd836
removed obligatory this.fieldName usage in editorconfig
TaggedDev Jul 24, 2026
d7cbd33
Autoformatting: requires {} for multiline single statement
TaggedDev Jul 24, 2026
2416c0e
Added trailing comma to dotsetting
TaggedDev Jul 24, 2026
ffb3dab
Irrelevant Autoformatting
GalteXx Jul 24, 2026
0d80f37
quick fix
TaggedDev Jul 24, 2026
e96fb9e
updated objects order in file layout xml - now match the stylecop
TaggedDev Jul 24, 2026
2f31f0c
Removed Open UPM references
GalteXx Jul 24, 2026
a76dd3b
Updated formatting rules for new lines
TaggedDev Jul 24, 2026
7a427ef
Updated gitignore
TaggedDev Jul 24, 2026
2dee0de
updated git repo
TaggedDev Jul 24, 2026
2a46784
generated_code
TaggedDev Jul 24, 2026
cd5ba84
Fixed cleanup profile
TaggedDev Jul 24, 2026
9c058a0
Installed Debug version of Facepunch
GalteXx Jul 24, 2026
1bb3408
git commit -m "Add PR code quality check"
TaggedDev Jul 24, 2026
db7064e
Merge pull request #5 from 4RTNV/editorconfig
GalteXx Jul 26, 2026
6ba1be3
added comment rules to .editorconfig
GalteXx Jul 26, 2026
ee723e5
code cleanup
GalteXx Jul 26, 2026
71085ca
workspace.xml removed
GalteXx Jul 26, 2026
acf356c
Updated gitignore
GalteXx Jul 26, 2026
e688b16
Update on formatcheck
TaggedDev Jul 26, 2026
ef21043
Removed .slnx and .CI.sln; removed *.csproj; added build and format c…
TaggedDev Jul 26, 2026
ac27647
Combined building desktop into a single file
TaggedDev Jul 26, 2026
82462e4
Undo previous commit: split win/linux builds
TaggedDev Jul 26, 2026
d76d0d5
Updated formatting ci to use roslyn/stylecop
TaggedDev Jul 26, 2026
49ef102
Updated resolver installaion on github actions
TaggedDev Jul 26, 2026
72c161a
Windows build update. Code format update
TaggedDev Jul 26, 2026
ac9b32f
Added codex folder
TaggedDev Jul 26, 2026
447953e
Simplified workflow
TaggedDev Jul 26, 2026
d328654
Updated windows build ci
TaggedDev Jul 26, 2026
00f41b8
Updated build-desktop.yml
TaggedDev Jul 27, 2026
aca5ab1
build-desktop for pull request on branch main
TaggedDev Jul 27, 2026
6a3c625
Fixed code inspection for [Attributes] and new line; fixed public fie…
TaggedDev Aug 2, 2026
ffcc2ab
Split the type filter files
TaggedDev Aug 2, 2026
55efbfc
Removed "must have documentation on ctor argument"
TaggedDev Aug 2, 2026
52ea0da
Added comments to .editorconfig
TaggedDev Aug 2, 2026
dc0c711
Updated CurrentPlayerProgress.cs to match the formatting style
TaggedDev Aug 2, 2026
05d339c
Split the States into the 3 different files
TaggedDev Aug 2, 2026
baa775a
Renamed static data related .cs files
TaggedDev Aug 2, 2026
3ec9e88
Renamed GameWindowStaticData.cs
TaggedDev Aug 2, 2026
9d3f930
Removed Test asmdef
TaggedDev Aug 2, 2026
44ee412
Allow delegate = {}; syntax
TaggedDev Aug 2, 2026
5e7cbce
Updated EoF config
TaggedDev Aug 2, 2026
a7868c4
Removed assets/packages/** from normalization
TaggedDev Aug 2, 2026
f80441e
Updated code format
TaggedDev Aug 2, 2026
329854e
yml fix
TaggedDev Aug 2, 2026
70d56e2
Updated yml format check file
TaggedDev Aug 2, 2026
acb959d
Ignoring sln in formatcheck
TaggedDev Aug 2, 2026
ff6eb19
Updated run sln name
TaggedDev Aug 2, 2026
8f70de8
Formatting (again)
TaggedDev Aug 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .ai/mcp/mcp.json
Empty file.
18 changes: 18 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-format": {
"version": "5.1.250801",
"commands": [
"dotnet-format"
]
},
"jetbrains.resharper.globaltools": {
"version": "2026.1.4",
"commands": [
"jb"
]
}
}
}
120 changes: 120 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
tab_width = 4
insert_final_newline = true
trim_trailing_whitespace = true

[Assets/Packages/**]
generated_code = true

[Assets/Plugins/**]
generated_code = true

[Assets/TextMesh Pro/**]
generated_code = true

[Assets/TextMesh*/**]
generated_code = true

[Assets/ThirdParty/**]
generated_code = true

[Assets/**/*.asset]
generated_code = true

[Assets/**/*.cginc]
generated_code = true

[Assets/**/*.hlsl]
generated_code = true

[Assets/**/*.json]
generated_code = true

[Assets/**/*.mat]
generated_code = true

[Assets/**/*.meta]
generated_code = true

[Assets/**/*.shader]
generated_code = true

[Assets/**/*.shadergraph]
generated_code = true

[Assets/**/*.txt]
generated_code = true

[Assets/**/*.xml]
generated_code = true

[Library/**]
generated_code = true

[Logs/**]
generated_code = true

[Packages/**]
generated_code = true

[ProjectSettings/**]
generated_code = true

[Temp/**]
generated_code = true

[UserSettings/**]
generated_code = true

# ReSharper properties
resharper_keep_existing_embedded_arrangement = false

# noinspection EditorConfigKeyCorrectness
[*.cs]

# Стандартные настройки C#
csharp_new_line_before_open_brace = all

csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:suggestion

# Comment section
dotnet_diagnostic.SA1629.severity = none

# wrap over chop, long arguments
resharper_csharp_wrap_arguments_style = wrap_if_long
resharper_csharp_max_invocation_arguments_on_line = 10
resharper_csharp_keep_user_linebreaks = false
dotnet_diagnostic.SA1116.severity = none

# using block
dotnet_diagnostic.SA1200.severity = none # move usings inside namespace
dotnet_diagnostic.SA1633.severity = none # obligatory file header
dotnet_diagnostic.SA1300.severity = none # _Project. namespace to be changed

# Documentation on Enum, Enum elements
dotnet_diagnostic.SA1600.severity = none
dotnet_diagnostic.SA1602.severity = none
resharper_csharp_place_simple_enum_on_single_line = false
resharper_csharp_keep_existing_enum_arrangement = false
resharper_csharp_max_enum_members_on_line = 1

# fields, properties, methods
dotnet_diagnostic.SA1309.severity = none
dotnet_diagnostic.SA1128.severity = none # allow public ClassName : this() without new line after :
dotnet_diagnostic.SA1101.severity = none # disable obligatory this.fieldName
dotnet_diagnostic.SA1401.severity = error # fields always private
dotnet_diagnostic.SA1503.severity = none # allow no braces
dotnet_diagnostic.SA1134.severity = none # allow [attributes] private OneLineWithField
dotnet_diagnostic.SA1127.severity = none # generic type constrains must be on the new line
dotnet_diagnostic.SA1611.severity = none # all ctor args must be documented
dotnet_diagnostic.SA1117.severity = none # allow arguments to be wrapped, not chopped
dotnet_diagnostic.SA1130.severity = none # allow = delegate {}; syntax, not only lambda

18 changes: 18 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,21 @@
*.png filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.psd filter=lfs diff=lfs merge=lfs -text
*.sh text eol=lf


* text=auto

*.cs text eol=lf
*.asmdef text eol=lf
*.asmref text eol=lf
*.json text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.sh text eol=lf

*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf

/Assets/Packages/** -text
40 changes: 40 additions & 0 deletions .github/workflows/build-desktop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build project

on:
pull_request:
branches:
- main

jobs:
build-desktop:
name: Build for ${{ matrix.targetPlatform }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
targetPlatform:
- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
- StandaloneWindows # Build a Windows standalone.
- StandaloneWindows64 # Build a Windows 64-bit standalone.
- StandaloneLinux64 # Build a Linux 64-bit standalone.
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v3
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
- uses: actions/upload-artifact@v4
with:
name: Build-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
70 changes: 70 additions & 0 deletions .github/workflows/code-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: Code format

on:
pull_request:
branches:
- main
push:
branches:
- main

permissions:
contents: read

jobs:
format-check:
name: Rider formatting check
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "10.0.x"

- name: Restore JetBrains tools
run: dotnet tool restore

- name: Run Rider formatter
shell: bash
run: |
format_root="$(mktemp -d)"

mkdir -p "$format_root/Assets/_Project"
cp -a Assets/_Project/Scripts "$format_root/Assets/_Project/Scripts"
cp .editorconfig "$format_root/.editorconfig"
cp UnityTemplateURP.sln.DotSettings "$format_root/Rider.DotSettings"

mapfile -d '' cs_files < <(
find "$format_root/Assets/_Project/Scripts" \
-type f \
-name '*.cs' \
-print0
)

if [ "${#cs_files[@]}" -eq 0 ]; then
echo "No C# files found."
exit 1
fi

dotnet tool run jb cleanupcode \
"${cs_files[@]}" \
--profile="Built-in: Reformat Code" \
--settings="$format_root/Rider.DotSettings" \
--no-updates

rsync -a \
"$format_root/Assets/_Project/Scripts/" \
Assets/_Project/Scripts/

- name: Check formatting diff
shell: bash
run: |
if ! git diff --exit-code -- Assets/_Project/Scripts; then
echo "::error::C# formatting does not match Rider formatting rules."
exit 1
fi
51 changes: 48 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
/[Uu]ser[Ss]ettings/
*.log

.codex

# By default unity supports Blender asset imports, *.blend1 blender files do not need to be commited to version control.
*.blend1
*.blend1.meta
Expand All @@ -31,19 +33,47 @@
# Jetbrains Rider personal-layer settings
*.DotSettings.user

# Visual Studio cache directory
# Rider
.idea/
.vs/
.idea

# но разрешаем общие настройки
!.idea/.idea.UnityTemplateURP/
!.idea/.idea.UnityTemplateURP/.idea/

!.idea/.idea.UnityTemplateURP/.idea/codeStyles/
!.idea/.idea.UnityTemplateURP/.idea/codeStyles/**

!.idea/.idea.UnityTemplateURP/.idea/inspectionProfiles/
!.idea/.idea.UnityTemplateURP/.idea/inspectionProfiles/**

!.idea/.idea.UnityTemplateURP/.idea/vcs.xml

# обязательно игнорируем
.idea/**/workspace.xml
.idea/**/indexLayout.xml
.idea/**/Project_Default.xml
.idea/**/mcp.json
.idea/**/shelf/
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/contentModel.xml
.idea/**/dictionaries/
.idea/**/httpRequests/
.idea/**/caches/
.idea/**/localHistory/

# Gradle cache directory
.gradle/
.dotnet-tools/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.slnx
*.suo
*.tmp
*.user
Expand Down Expand Up @@ -97,4 +127,19 @@ InitTestScene*.unity*
/[Aa]ssets/Unity.VisualScripting.Generated/VisualScripting.Core/Property Providers.meta

# Auto-generated scenes by play mode tests
/[Aa]ssets/[Ii]nit[Tt]est[Ss]cene*.unity*
/[Aa]ssets/[Ii]nit[Tt]est[Ss]cene*.unity*

# NuGet Importer / NuGetForUnity
/[Aa]ssets/[Pp]ackages/
/[Aa]ssets/[Pp]ackages.meta
/[Pp]ackages/*
!/[Pp]ackages/manifest.json
!/[Pp]ackages/packages-lock.json

!.idea/
!.idea/.idea.UnityTemplateURP/
!.idea/.idea.UnityTemplateURP/.idea/
!.idea/.idea.UnityTemplateURP/.idea/scopes/
!.idea/.idea.UnityTemplateURP/.idea/scopes/*
!.idea/.idea.UnityTemplateURP/.idea/codeStyles/
!.idea/.idea.UnityTemplateURP/.idea/codeStyles/*
15 changes: 15 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .idea/.idea.UnityTemplateURP/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading