GitHub
6 年前
当前提交
a0e4cb7c
共有 539 个文件被更改,包括 5207 次插入 和 1232 次删除
-
12.gitignore
-
7.npmignore
-
6CHANGELOG.md
-
28CONTRIBUTING.md
-
27LICENSE.md
-
12README-ZH.md
-
93README.md
-
4Runtime/Resources/UIWidgets_canvas.cginc
-
46Runtime/animation/listener_helpers.mixin.gen.cs
-
19Runtime/async/coroutine.cs
-
5Runtime/debugger/inspector_service.cs
-
8Runtime/debugger/inspector_treeview.cs
-
21Runtime/debugger/inspector_window.cs
-
93Runtime/editor/editor_window.cs
-
9Runtime/engine/DisplayMetrics.cs
-
42Runtime/engine/input_utils.cs
-
1Runtime/flow/clip_path_layer.cs
-
1Runtime/flow/clip_rect_layer.cs
-
1Runtime/flow/clip_rrect_layer.cs
-
2Runtime/flow/opacity_layer.cs
-
2Runtime/flow/picture_layer.cs
-
24Runtime/flow/raster_cache.cs
-
3Runtime/foundation/basic_types.cs
-
38Runtime/foundation/debug.cs
-
31Runtime/foundation/node.mixin.gen.cs
-
8Runtime/foundation/node.mixin.njk
-
24Runtime/gestures/monodrag.cs
-
9Runtime/gestures/recognizer.cs
-
30Runtime/material/arc.cs
-
3Runtime/material/button.cs
-
69Runtime/material/button_theme.cs
-
3Runtime/material/color_scheme.cs
-
10Runtime/material/constants.cs
-
53Runtime/material/debug.cs
-
8Runtime/material/drawer.cs
-
7Runtime/material/drawer_header.cs
-
2Runtime/material/expand_icon.cs
-
6Runtime/material/expansion_panel.cs
-
5Runtime/material/expansion_tile.cs
-
8Runtime/material/icon_button.cs
-
998Runtime/material/icons.cs
-
2Runtime/material/ink_decoration.cs
-
5Runtime/material/ink_highlight.cs
-
43Runtime/material/ink_ripple.cs
-
52Runtime/material/ink_splash.cs
-
3Runtime/material/ink_well.cs
-
7Runtime/material/list_tile.cs
-
14Runtime/material/material.cs
-
10Runtime/material/scrollbar.cs
-
108Runtime/material/text_selection.cs
-
3Runtime/material/text_theme.cs
-
12Runtime/material/theme.cs
-
359Runtime/material/theme_data.cs
-
7Runtime/material/tooltip.cs
-
15Runtime/painting/image_provider.cs
-
41Runtime/painting/image_resolution.cs
-
4Runtime/painting/text_painter.cs
-
41Runtime/painting/text_span.cs
-
56Runtime/painting/text_style.cs
-
12Runtime/promise/Promise.cs
-
11Runtime/promise/Promise_NonGeneric.cs
-
3Runtime/rendering/binding.cs
-
11Runtime/rendering/box.cs
-
18Runtime/rendering/box.mixin.gen.cs
-
514Runtime/rendering/editable.cs
-
221Runtime/rendering/layer.cs
-
24Runtime/rendering/object.cs
-
90Runtime/rendering/object.mixin.gen.cs
-
19Runtime/rendering/paragraph.cs
-
581Runtime/rendering/proxy_box.cs
-
20Runtime/rendering/proxy_box.mixin.gen.cs
-
87Runtime/rendering/stack.cs
-
8Runtime/rendering/viewport.cs
-
9Runtime/rendering/viewport_offset.cs
-
27Runtime/scheduler/binding.cs
-
377Runtime/service/keyboard.cs
-
16Runtime/service/system_chrome.cs
-
27Runtime/service/text_formatter.cs
-
305Runtime/service/text_input.cs
-
60Runtime/ui/compositing.cs
-
103Runtime/ui/geometry.cs
-
14Runtime/ui/matrix.cs
-
47Runtime/ui/painting/canvas.cs
-
266Runtime/ui/painting/canvas_impl.cs
-
119Runtime/ui/painting/canvas_shader.cs
-
33Runtime/ui/painting/painting.cs
-
230Runtime/ui/painting/path.cs
-
20Runtime/ui/painting/shader.cs
-
2Runtime/ui/painting/tessellation_generator.cs
-
171Runtime/ui/painting/txt/font_manager.cs
-
83Runtime/ui/painting/txt/mesh_generator.cs
-
23Runtime/ui/painting/txt/text_blob.cs
-
148Runtime/ui/text.cs
-
15Runtime/ui/txt/layout.cs
-
33Runtime/ui/txt/linebreaker.cs
-
2Runtime/ui/txt/paint_record.cs
-
96Runtime/ui/txt/paragraph.cs
-
12Runtime/ui/txt/paragraph_builder.cs
-
6Runtime/ui/txt/styled_runs.cs
-
16Runtime/ui/txt/word_separate.cs
|
|||
# Contributing |
|||
|
|||
## If you are interested in contributing, here are some ground rules: |
|||
* ... Define guidelines & rules for what contributors need to know to successfully make Pull requests against your repo ... |
|||
|
|||
### Code Style (using JetBrains Rider) |
|||
1. **Import the Customized Code Cleanup Settings**: Open Preferences -> Manage Layers, |
|||
Choose 'Solution "\<YourProjectName\>" personal' and Click "Add Layer" ("+") -> "Open Settings File...". |
|||
and Open the file "UIWidgetCleanupPlugin.DotSettings" under \<YourProjectPath\>/Packages/com.unity.uiwidgets/" |
|||
|
|||
2. **Cleanup Code style using the Customized Code Cleanup Settings**: Open Code -> Code Cleanup, |
|||
Pick a Cleanup scope as you want and Choose "UIWidgets" as the "Code cleanup profile", then click "OK" |
|||
|
|||
3. **Refine Code Style Rules**: Edit the ".editorconfig" file under \<YourProjectPath\>/Packages/com.unity.uiwidgets/". Visit |
|||
https://www.jetbrains.com/help/rider/EditorConfig_Index.html for the detailed. |
|||
|
|||
### Generate Code. |
|||
|
|||
Code files ending with ".gen.cs" are auto generated. Follow these steps to generate them: |
|||
|
|||
1. **Go to scripts Folder and Run npm install**: |
|||
``` |
|||
cd <YourProjectPath>/Packages/com.unity.uiwidgets/scripts~ |
|||
npm install |
|||
``` |
|||
|
|||
2. **Run the codegen Command**: |
|||
``` |
|||
node uiwidgets-cli.js codegen . generate mixin code |
|||
``` |
|||
|
|||
|
|||
## All contributions are subject to the [Unity Contribution Agreement(UCA)](https://unity3d.com/legal/licenses/Unity_Contribution_Agreement) |
|||
By making a pull request, you are confirming agreement to the terms and conditions of the UCA, including that your Contributions are your original creation and that you have complete right and authority to make your Contributions. |
|
|||
Copyright 2019 The UIWidget Authors. All rights reserved. |
|||
Copyright 2014 The Chromium Authors. All rights reserved. |
|||
UIWidgets copyright © 2019 Unity Technologies ApS |
|||
Redistribution and use in source and binary forms, with or without modification, |
|||
are permitted provided that the following conditions are met: |
|||
Licensed under the Unity Companion License for Unity-dependent projects--see [Unity Companion License](http://www.unity3d.com/legal/licenses/Unity_Companion_License). |
|||
* Redistributions of source code must retain the above copyright |
|||
notice, this list of conditions and the following disclaimer. |
|||
* Redistributions in binary form must reproduce the above |
|||
copyright notice, this list of conditions and the following |
|||
disclaimer in the documentation and/or other materials provided |
|||
with the distribution. |
|||
* Neither the name of Google Inc. nor the names of its |
|||
contributors may be used to endorse or promote products derived |
|||
from this software without specific prior written permission. |
|||
|
|||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
|||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
|||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR |
|||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
|||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
|||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
|||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
|||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|||
Unless expressly provided otherwise, the Software under this license is made available strictly on an “AS IS” BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Please review the license for details on these and other terms and conditions. |
998
Runtime/material/icons.cs
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
部分文件因为文件数量过多而无法显示
撰写
预览
正在加载...
取消
保存
Reference in new issue