-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## [1.8.0] - 2023-05-18 ### Added * Added functionality in `OpenXRFeatureBuildHooks` exposing the BootConfig for reading/writing. * Added `Force Remove Internet Permission` setting to the Meta Quest Feature settings, allowing to remove Internet permissions added automatically to the application manifest. * Added class HPReverbG2ControllerProfile.ReverbG2Controller and a new interaction profile to support the HP Reverb G2 controllers. * Added Hand Interaction Profile and added PalmPose and dpad EXT implementations. ### Changed * Modified `ModifyAndroidManifestMeta` class to provide required Android manifest entries using a new internal XR system, instead of manually modifying the manifest file. * Updated the IsTracked and TrackingState Input Features names with a Usage prefix to prevent name collisions. * Updated OpenXR loader to 1.0.27. ### Fixed * Fixed type `XrCompositionLayerPassthroughFB` not appearing in the runtime debugger. * Fixed crash when deploying to Android on Unity 2023 due to using type `Activity` over `GameActivity`. * Fixed issue on Android where screen captures only capture the view on one eye.
- Loading branch information
Unity Technologies
committed
May 18, 2023
1 parent
6c7d016
commit 210f20e
Showing
539 changed files
with
35,467 additions
and
20,550 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,147 @@ | ||
root=true | ||
# see http://editorconfig.org/ for docs on this file | ||
|
||
[*.cs] | ||
indent_style=space | ||
indent_size=4 | ||
end_of_line=lf | ||
trim_trailing_whitespace=true | ||
|
||
# Microsoft .NET properties | ||
csharp_new_line_before_members_in_object_initializers=false | ||
csharp_preferred_modifier_order=public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion | ||
csharp_style_var_elsewhere=true:hint | ||
csharp_style_var_for_built_in_types=true:hint | ||
csharp_style_var_when_type_is_apparent=true:hint | ||
dotnet_style_predefined_type_for_locals_parameters_members=true:hint | ||
dotnet_style_predefined_type_for_member_access=true:hint | ||
dotnet_style_qualification_for_event=false:hint | ||
dotnet_style_qualification_for_field=false:hint | ||
dotnet_style_qualification_for_method=false:hint | ||
dotnet_style_qualification_for_property=false:hint | ||
dotnet_style_require_accessibility_modifiers=for_non_interface_members:hint | ||
|
||
# ReSharper inspection severities | ||
resharper_redundant_base_qualifier_highlighting=warning | ||
resharper_web_config_module_not_resolved_highlighting=warning | ||
resharper_web_config_type_not_resolved_highlighting=warning | ||
resharper_web_config_wrong_module_highlighting=warning | ||
|
||
# ReSharper properties | ||
resharper_align_multiline_binary_expressions_chain=false | ||
resharper_csharp_max_line_length=10000 | ||
resharper_use_continuous_indent_inside_parens=false | ||
# see http://editorconfig.org/ for docs on this file | ||
# This file is largely based on https://github.cds.internal.unity3d.com/unity/unity-meta/blob/stable/.editorconfig with some minor adjustments | ||
|
||
root = true | ||
|
||
# formattable file extensions (keep in sync with format.ini from unity-meta repo) | ||
# | ||
# Note: We need to split the formattable files configs into shorter duplicate entries (logically grouped) | ||
# due to known issue in VS editorconfig extension where there is a limit of 51 characters (empirically determined). | ||
# see: https://github.com/editorconfig/editorconfig-visualstudio/issues/21 | ||
# | ||
## uncrustify | ||
[*.{cs}] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
trim_trailing_whitespace = true | ||
charset = utf-8 | ||
insert_final_newline = true | ||
|
||
## generic formatter (shaders) | ||
[*.{cg,cginc,glslinc,hlsl,shader,y,ypp,yy}] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
## generic formatter (misc) | ||
[*.{asm,s,S,pch,pchmm,java,sh,uss}] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
## perltidy | ||
[*.{pl,pm,t,it}] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
## unity special | ||
[*.{bindings,mem.xml}] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# other filetypes we want to overwrite default configuration to preserve the standard | ||
[{Makefile,makefile}] | ||
# TAB characters are part of the Makefile format | ||
indent_style = tab | ||
|
||
[*.{md,markdown}] | ||
# trailing whitespace is significant in markdown (bad choice, bad!) | ||
trim_trailing_whitespace = false | ||
|
||
[*.{asmdef,json,yaml,yml}] | ||
indent_style = space | ||
# seems to be more common | ||
indent_size = 2 | ||
|
||
# keep these and the VS stuff below in sync with .hgeol's CRLF extensions | ||
[*.{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. this duplicates some settings in * | ||
# but let's be explicit here to be safe (in case someone wants to copy-paste this out to another .editorconfig). | ||
[*.{vcxproj,vcxproj.filters,csproj,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 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = false | ||
|
||
# https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/formatting-rules | ||
[*.cs] | ||
csharp_new_line_before_open_brace = all | ||
csharp_new_line_before_else = true | ||
csharp_new_line_before_catch = true | ||
csharp_new_line_before_finally = true | ||
csharp_new_line_before_members_in_object_initializers = false | ||
csharp_new_line_before_members_in_anonymous_types = true | ||
csharp_new_line_between_query_expression_clauses = true | ||
csharp_preferred_modifier_order = public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion | ||
|
||
# indentation options | ||
csharp_indent_case_contents = true | ||
csharp_indent_switch_labels = true | ||
csharp_indent_labels = one_less_than_current | ||
csharp_indent_block_contents = true | ||
csharp_indent_braces = false | ||
csharp_indent_case_contents_when_block = false | ||
|
||
# spacing | ||
csharp_space_after_cast = false | ||
csharp_space_after_keywords_in_control_flow_statements = true | ||
#csharp_space_between_parentheses = control_flow_statements, type_casts, expressions | ||
csharp_space_before_colon_in_inheritance_clause = true | ||
csharp_space_after_colon_in_inheritance_clause = true | ||
csharp_space_around_binary_operators = before_and_after | ||
csharp_space_between_method_declaration_parameter_list_parentheses = false | ||
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false | ||
csharp_space_between_method_declaration_name_and_open_parenthesis = false | ||
csharp_space_between_method_call_parameter_list_parentheses = false | ||
csharp_space_between_method_call_empty_parameter_list_parentheses = false | ||
csharp_space_between_method_call_name_and_opening_parenthesis = false | ||
csharp_space_after_comma = true | ||
csharp_space_before_comma = false | ||
csharp_space_after_dot = false | ||
csharp_space_before_dot = false | ||
csharp_space_after_semicolon_in_for_statement = true | ||
csharp_space_before_semicolon_in_for_statement = false | ||
csharp_space_around_declaration_statements = false | ||
csharp_space_before_open_square_brackets = false | ||
csharp_space_between_empty_square_brackets = false | ||
csharp_space_between_square_brackets = false | ||
|
||
# wrap options | ||
csharp_preserve_single_line_statements = true | ||
csharp_preserve_single_line_blocks = true | ||
|
||
# using directives | ||
csharp_using_directive_placement = outside_namespace | ||
|
||
# style | ||
csharp_style_var_elsewhere=true:hint | ||
csharp_style_var_for_built_in_types=true:hint | ||
csharp_style_var_when_type_is_apparent=true:hint | ||
dotnet_style_predefined_type_for_locals_parameters_members=true:hint | ||
dotnet_style_predefined_type_for_member_access=true:hint | ||
dotnet_style_qualification_for_event=false:hint | ||
dotnet_style_qualification_for_field=false:hint | ||
dotnet_style_qualification_for_method=false:hint | ||
dotnet_style_qualification_for_property=false:hint | ||
dotnet_style_require_accessibility_modifiers=for_non_interface_members:hint | ||
|
||
# ReSharper inspection severities | ||
resharper_redundant_base_qualifier_highlighting=warning | ||
resharper_web_config_module_not_resolved_highlighting=warning | ||
resharper_web_config_type_not_resolved_highlighting=warning | ||
resharper_web_config_wrong_module_highlighting=warning | ||
|
||
# ReSharper properties | ||
resharper_align_multiline_binary_expressions_chain=false | ||
resharper_csharp_max_line_length=10000 | ||
resharper_use_continuous_indent_inside_parens=false |
Oops, something went wrong.