Skip to content

Commit ceaeeb6

Browse files
authored
Initial commit
0 parents  commit ceaeeb6

42 files changed

Lines changed: 2473 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
###############################
2+
# Core EditorConfig Options #
3+
###############################
4+
# All files
5+
[*]
6+
indent_style = space
7+
# Code files
8+
[*.{cs,csx,vb,vbx}]
9+
indent_size = 4
10+
insert_final_newline = false
11+
charset = utf-8-bom
12+
###############################
13+
# .NET Coding Conventions #
14+
###############################
15+
[*.{cs,vb}]
16+
# Organize usings
17+
dotnet_sort_system_directives_first = true
18+
# this. preferences
19+
dotnet_style_qualification_for_field = false:silent
20+
dotnet_style_qualification_for_property = false:silent
21+
dotnet_style_qualification_for_method = false:silent
22+
dotnet_style_qualification_for_event = false:silent
23+
# Language keywords vs BCL types preferences
24+
dotnet_style_predefined_type_for_locals_parameters_members = true:silent
25+
dotnet_style_predefined_type_for_member_access = true:silent
26+
# Parentheses preferences
27+
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
28+
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
29+
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
30+
dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
31+
# Modifier preferences
32+
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
33+
dotnet_style_readonly_field = true:suggestion
34+
# Expression-level preferences
35+
dotnet_style_object_initializer = true:suggestion
36+
dotnet_style_collection_initializer = true:suggestion
37+
dotnet_style_explicit_tuple_names = true:suggestion
38+
dotnet_style_null_propagation = true:suggestion
39+
dotnet_style_coalesce_expression = true:suggestion
40+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:silent
41+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
42+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
43+
dotnet_style_prefer_auto_properties = true:silent
44+
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
45+
dotnet_style_prefer_conditional_expression_over_return = true:silent
46+
###############################
47+
# Naming Conventions #
48+
###############################
49+
# Style Definitions
50+
dotnet_naming_style.camel_case_style.capitalization = camel_case
51+
# Use CamelCase for constant fields
52+
dotnet_naming_rule.constant_fields_should_be_camel_case.severity = suggestion
53+
dotnet_naming_rule.constant_fields_should_be_camel_case.symbols = constant_fields
54+
dotnet_naming_rule.constant_fields_should_be_camel_case.style = camel_case_style
55+
dotnet_naming_symbols.constant_fields.applicable_kinds = field
56+
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
57+
dotnet_naming_symbols.constant_fields.required_modifiers = const
58+
###############################
59+
# C# Coding Conventions #
60+
###############################
61+
[*.cs]
62+
# var preferences
63+
csharp_style_var_for_built_in_types = true:silent
64+
csharp_style_var_when_type_is_apparent = true:silent
65+
csharp_style_var_elsewhere = true:silent
66+
# Expression-bodied members
67+
csharp_style_expression_bodied_methods = false:silent
68+
csharp_style_expression_bodied_constructors = false:silent
69+
csharp_style_expression_bodied_operators = false:silent
70+
csharp_style_expression_bodied_properties = true:silent
71+
csharp_style_expression_bodied_indexers = true:silent
72+
csharp_style_expression_bodied_accessors = true:silent
73+
# Pattern matching preferences
74+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
75+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
76+
# Null-checking preferences
77+
csharp_style_throw_expression = true:suggestion
78+
csharp_style_conditional_delegate_call = true:suggestion
79+
# Modifier preferences
80+
csharp_preferred_modifier_order = private,protected,internal,public,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
81+
# Expression-level preferences
82+
csharp_prefer_braces = true:silent
83+
csharp_style_deconstructed_variable_declaration = true:suggestion
84+
csharp_prefer_simple_default_expression = true:suggestion
85+
csharp_style_pattern_local_over_anonymous_function = true:silent
86+
csharp_style_inlined_variable_declaration = true:silent
87+
###############################
88+
# C# Formatting Rules #
89+
###############################
90+
# New line preferences
91+
csharp_new_line_before_open_brace = all
92+
csharp_new_line_before_else = true
93+
csharp_new_line_before_catch = true
94+
csharp_new_line_before_finally = true
95+
csharp_new_line_before_members_in_object_initializers = true
96+
csharp_new_line_before_members_in_anonymous_types = true
97+
csharp_new_line_between_query_expression_clauses = true
98+
# Indentation preferences
99+
csharp_indent_case_contents = true
100+
csharp_indent_switch_labels = true
101+
csharp_indent_labels = flush_left
102+
# Space preferences
103+
csharp_space_after_cast = false
104+
csharp_space_after_keywords_in_control_flow_statements = true
105+
csharp_space_between_method_call_parameter_list_parentheses = false
106+
csharp_space_between_method_declaration_parameter_list_parentheses = false
107+
csharp_space_between_parentheses = false
108+
csharp_space_before_colon_in_inheritance_clause = true
109+
csharp_space_after_colon_in_inheritance_clause = true
110+
csharp_space_around_binary_operators = before_and_after
111+
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
112+
csharp_space_between_method_call_name_and_opening_parenthesis = false
113+
csharp_space_between_method_call_empty_parameter_list_parentheses = false
114+
# Wrapping preferences
115+
csharp_preserve_single_line_statements = true
116+
csharp_preserve_single_line_blocks = true
117+
118+
dotnet_diagnostic.IDE0090.severity = silent
119+
120+
###############################
121+
# VB Coding Conventions #
122+
###############################
123+
124+
[*.vb]
125+
# Modifier preferences
126+
visual_basic_preferred_modifier_order = Partial,Default,Private,Protected,Public,Friend,NotOverridable,Overridable,MustOverride,Overloads,Overrides,MustInherit,NotInheritable,Static,Shared,Shadows,ReadOnly,WriteOnly,Dim,Const,WithEvents,Widening,Narrowing,Custom,Async:suggestion

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
split-upm:
8+
name: split upm branch
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
with:
13+
fetch-depth: 0
14+
- name: split upm branch
15+
run: |
16+
git subtree split -P "$PKG_ROOT" -b upm
17+
git push -u origin upm
18+
env:
19+
PKG_ROOT: 'Assets/Package'

.gitignore

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Created by https://www.gitignore.io/api/unity
2+
# Edit at https://www.gitignore.io/?templates=unity
3+
4+
### Unity ###
5+
[Ll]ibrary/
6+
[Tt]emp/
7+
[Oo]bj/
8+
[Bb]uild/
9+
[Bb]uilds/
10+
[Ll]ogs/
11+
[Uu]serSettings/
12+
13+
# Never ignore Asset meta data
14+
![Aa]ssets/**/*.meta
15+
16+
# Uncomment this line if you wish to ignore the asset store tools plugin
17+
# [Aa]ssets/AssetStoreTools*
18+
19+
# Visual Studio cache directory
20+
.vs/
21+
22+
# Gradle cache directory
23+
.gradle/
24+
25+
# Autogenerated VS/MD/Consulo solution and project files
26+
ExportedObj/
27+
.consulo/
28+
*.csproj
29+
*.unityproj
30+
*.sln
31+
*.suo
32+
*.tmp
33+
*.user
34+
*.userprefs
35+
*.pidb
36+
*.booproj
37+
*.svd
38+
*.pdb
39+
*.mdb
40+
*.opendb
41+
*.VC.db
42+
43+
# Unity3D generated meta files
44+
*.pidb.meta
45+
*.pdb.meta
46+
*.mdb.meta
47+
48+
# Unity3D generated file on crash reports
49+
sysinfo.txt
50+
51+
# Builds
52+
*.apk
53+
*.unitypackage
54+
55+
# Crashlytics generated file
56+
crashlytics-build.properties
57+
58+
59+
# End of https://www.gitignore.io/api/unity

.vsconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"version": "1.0",
3+
"components": [
4+
"Microsoft.VisualStudio.Workload.ManagedGame"
5+
]
6+
}

Assets/Examples.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Package.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Package/CHANGELOG.md

Whitespace-only changes.

Assets/Package/CHANGELOG.md.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Package/Editor.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Package/LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 BroWar Collective
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)