您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 
xingwei.zhu 31e35589 fix code style profile name -> UIWidgets 6 年前
Documentation~ add packman template 6 年前
Editor Merge branch 'kgdev' into 'master' 6 年前
Runtime fix readonly + format issues 6 年前
Samples Merge branch 'master' into 'master' 6 年前
Tests Merge branch 'kgdev' into 'master' 6 年前
scripts add packman template 6 年前
.README - External.md add packman template 6 年前
.editorconfig format_editorConfig 6 年前
.gitignore fix 6 年前
.gitlab-ci.yml add packman template 6 年前
.npmignore add packman template 6 年前
CHANGELOG.md add packman template 6 年前
CHANGELOG.md.meta add packman template 6 年前
CONTRIBUTING.md add packman template 6 年前
CONTRIBUTING.md.meta add packman template 6 年前
Editor.meta add packman template 6 年前
LICENSE.md add packman template 6 年前
LICENSE.md.meta add packman template 6 年前
QAReport.md add packman template 6 年前
QAReport.md.meta add packman template 6 年前
README.md fix code style profile name -> UIWidgets 6 年前
README.md.meta add packman template 6 年前
Runtime.meta add packman template 6 年前
Samples.meta add packman template 6 年前
Tests.meta add packman template 6 年前
Third Party Notices.md add packman template 6 年前
Third Party Notices.md.meta add packman template 6 年前
UIWidgetCleanupPlugin.DotSettings fix code style profile name -> UIWidgets 6 年前
build.bat add packman template 6 年前
build.bat.meta add packman template 6 年前
build.sh add packman template 6 年前
build.sh.meta add packman template 6 年前
package.json add packman template 6 年前
package.json.meta add packman template 6 年前
scripts.meta add packman template 6 年前

README.md

UI Widgets

Development

  1. Start Unity(2018.3 or above), create a local empty project.

  2. In a console (or terminal) application, go to the newly created project folder, then clone this repo into the packages directory.

    cd <YourProjectPath>/Packages
    git clone https://gitlab.cds.internal.unity3d.com/upm-packages/ui-widgets/com.unity.uiwidgets.git com.unity.uiwidgets
    

IDE

  1. Use JetBrains Rider

  2. Open File -> Settings Repository.... Specify Upstream URL as "git@gitlab.cds.internal.unity3d.com:upm-packages/ui-widgets/idea-settings.git" and click "Overwrite Local" or "Merge".

REF: https://www.jetbrains.com/help/idea/sharing-your-ide-settings.html#settings-repository

Code Style Cleanup

  1. Import the Customized Code Cleanup Setting: 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 Setting: Open Code -> Code Cleanup, Pick a Cleanup scope as you want and Choose the "UIWidgets" as the "Code cleanup profile", then click "OK"

  3. Refine Code Style Rules: Edit the ".editorconfig" file under <YourProjectPath>/Packages/com.unity.uiwidgets/"