# Collaborate Client Package
![ReleaseBadge](https://badges.cds.internal.unity3d.com/packages/com.unity.collab-proxy/release-badge.svg) ![ReleaseBadge](https://badges.cds.internal.unity3d.com/packages/com.unity.collab-proxy/candidates-badge.svg)
This is the package to add Collaborate support to the Unity Editor. Unlike its predecessor CollabProxy,
this package has completely switched the UI to using UIElements. There is no more CEF, JS, or HTML.
The project is exclusively targeting .NetStandard 2.0 and will not work with the legacy Mono runtime.
The minimum supported version of the Unity Editor is 2020.1a13.
## Development
**For developers:**
Option 1: clone this repository out into the `packages/` directory in a project.
Option 2: clone elsewhere and link with the `packages/manifest.json` file in the project:
```
"com.unity.collab-proxy": "file:/some/path/to/package"
```
To add testing support also add the testibles section to the manifest. Your manifest should look like this:
```json
{
"dependencies": {
"com.unity.collab-proxy": "file:/some/path/to/package",
...
},
"testables": [
"com.unity.collab-proxy",
...
]
}
```
**For internal testers:** simply add the git url into the `packages/manifest.json` file:
```
"com.unity.collab-proxy": "git://git@github.cds.internal.unity3d.com:unity/com.unity.cloud.collaborate.git"
```
If you need a specific revisision:
```
"com.unity.collab-proxy": "git://git@github.cds.internal.unity3d.com:unity/com.unity.cloud.collaborate.git#<rev>"
```
If you need more information, read the [Documentation](https://docs.unity3d.com/Manual/upm-dependencies.html#Git) for package dependencies from git.
Code style is as dictated in [Unity Meta](https://github.cds.internal.unity3d.com/unity/unity-meta).
There are IDE Specific code style configs under the `Config/` directory in the above repo.
## Overview
Source code for the packages is contained within the `Editor/`
and the tests are in `Tests/`. The structure of the package follows
the **MVP** pattern with a separate directory for each group of classes
and interfaces.
Here are some files and folders of note:
```none
<root>
├── package.json
├── README.md
├── CHANGELOG.md
├── LICENSE.md
├── Third Party Notices.md
├── QAReport.md
├── Editor/
│ └── Collaborate
│ ├── Unity.CollabProxy.Editor.asmdef
│ ├── Assets/
│ │ ├── Icons/
│ │ ├── Layouts/
│ │ ├── Styles/
│ │ └── UiConstants.cs
│ ├── Models/
│ │ ├── Api/
│ │ │ └── ISourceControlProvider.cs
│ │ └── Providers/
│ │ └── Collab.cs
│ ├── Views/
│ ├── Presenters/
│ ├── Common/
│ ├── Settings/
│ ├── Components/
│ ├── Utilities/
│ └── UserInterface/
│ ├── Bootstrap.cs
│ ├── WindowCache.cs
│ ├── ToolbarButton.cs
│ └── CollaborateWindow.cs
├── Tests/
│ ├── Collaborate
│ │ └── Editor/
│ │ └── Unity.CollabProxy.EditorTests.asmdef
│ └── .tests.json
└── Documentation~/
├── unity-cloud-collaborate.md
└── Images/
```
- `Editor/Assets/` directory of the collaborate assets.
- `Editor/Assets/Icons/` directory for the collection of icons (png) used in the UI.
- `Editor/Assets/Layouts/` directory for the collection of layouts (uxml) used in the UI.
- `Editor/Assets/Styles/` directory for the collection of styles (uss) used in the UI.
- `Editor/Models/` directory of the models in the MVP architecture.
- `Editor/Models/Api/ISourceControlProvider.cs` interface for source control providers. Just Collab for now.
- `Editor/Models/Providers/Collab.cs` backend for providing the interface between this client and collab in the Unity Editor.
- `Editor/Views/` directory of the views in the MVP architecture.
- `Editor/Views/Adaptors/` directory for the list adaptors used in views.
- `Editor/Presenters/` directory of the presenters in the MVP architecture.
- `Editor/Components/` directory for the collection of UIElements components used in the UI.
- `Editor/UserInterface/` directory for the window and toolbar button source code.
- `Editor/UserInterface/Bootstrap.cs` code to bootstrap the toolbar button when the editor starts.
- `Editor/UserInterface/WindowCache.cs` code to cache the state of the window during domain reload.
- `Editor/UserInterface/ToolbarButton.cs` code to create and manage the collab button in the toolbar.
- `Editor/UserInterface/CollaborateWindow.cs` code for the window itself.
- `Tests/Editor/` directory of the client tests.
Each directory contains a README file with additional details about what is contained within them, including code
examples.
## Package Information
For more info on packages and best practices, visit the [package-starter-kit](https://github.cds.internal.unity3d.com/unity/com.unity.package-starter-kit) repository and read the documentation.
## Known Issues
* [COL-1079] The history window doesn't correctly distinguish local vs remote changes
* [COL-573] Publishing new versions of some packages in Collab results in Cannot Copy File error
* [COL-1083] Error message for opening diff tool on conflicted file when none are installed is not very helpful. Workaround is to install and select a supported diff tool in the Preferences->External Tools window.
* [COL-1084] Triggering a domain reload while Collab History tab is open disables the UX until the Editor is focused. Workaround is to click onto the Editor a second time.
* [COL-1085] Go Back To commit in 2020.1 with pre-v1.2.17 in package manifest breaks Collaborate window. Workaround is to open project in a version of Unity older than 2020.1.0a13 where pre-v1.2.17 packages are supported.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
最近在学unity,把官方教程中的项目做完以后,干脆就保存在csdn上好了,如果有朋友卡在哪了,可以直接对照,说真的即使是官方教程也有疏漏的地方,存在一些细微的小毛病,做出来以后能加入自己的理解,也是件挺有意思的事情吧,该项目教程可以在unityhub中的学习页面找到,这个是我做好的,解压后通过unityhub-项目-打开-选择该文件夹即可 注:需要unityhub和VS,前者用来打开项目,后者用来编辑脚本,请自行下载
资源推荐
资源详情
资源评论
收起资源包目录
unity官方教程成品:潜入游戏3D(仅工程与资源) (2000个子文件)
NavMesh.asset 71KB
GlobalPost Profile.asset 24KB
ProjectSettings.asset 22KB
LightingData.asset 18KB
EditorUserBuildSettings.asset 8KB
QualitySettings.asset 7KB
InputManager.asset 6KB
GraphicsSettings.asset 2KB
Physics2DSettings.asset 2KB
Readme.asset 1KB
NavMeshAreas.asset 1KB
MemorySettings.asset 1KB
DynamicsManager.asset 1KB
EditorSettings.asset 970B
UnityConnectSettings.asset 943B
PackageManagerSettings.asset 928B
TimelineSettings.asset 436B
AudioManager.asset 416B
TagManager.asset 399B
VFXManager.asset 308B
EditorBuildSettings.asset 255B
TimeManager.asset 202B
VersionControlSettings.asset 188B
XRSettings.asset 158B
PresetManager.asset 146B
ClusterInputManager.asset 114B
sharedassets0.assets 3.62MB
globalgamemanagers.assets 192KB
3144e189258815e661383089753285ed.bin 46KB
586b7b997668112662ab481d1ae8ed8b.bin 46KB
44b16de82e6764e2e5d5f2330b82bbfc.bin 46KB
978d77ea25e03fb4b0fa6fa9c461f4ad.bin 46KB
c1b653a2b2f63629d42b5ec52e9053c4.bin 17KB
77b1224ed76239e947bebe5ea0ca6904.bin 12KB
c7d0222ff818b9efd6ac5142f022f37f.bin 12KB
9d03dffb7d000db3f3d7a7da5e2268a5.bin 12KB
57fc7c457a080e7883db01eb67c0345c.bin 12KB
38d3e90d1b63a4da5f8249fd44ed1b8d.bin 12KB
a891a4d8c5bfb01de5ff1a93de26c717.bin 12KB
2e75b7bd0ed056eb173b417f721e20f6.bin 12KB
90b6f28b50c6ddaefd422961e75831f7.bin 12KB
abf66bf93dceb44b085de0e90e745ed7.bin 12KB
a79f9cca0d3cbf083121c61dfc17fe48.bin 12KB
dc3b9e426c0e3fb729110e25ef103d71.bin 12KB
6b5d238e9dcfcb954bd3fa4ceec99b36.bin 12KB
1e749a4a3b769bb772b9343f477c4ff6.bin 12KB
f5c17dfdeaa1ba8b78b8576110a6207d.bin 12KB
a5b12e3275fbd0a7245d23d5930e3c99.bin 12KB
1866a4bb1ae365b0546fd33fee46d68d.bin 12KB
e6ece7486e4fecb488f2a9a8ccec4521.bin 12KB
c979af947eea45bde651a79c23c4417d.bin 12KB
b1e1e42e65a0bf16575f62e1cf19a4d1.bin 12KB
c5c7231b1e932b1c2588a8b96dc9bc44.bin 11KB
aaf84124ff7c5db266a33eb66ffeca13.bin 11KB
324b2a29d9064320dcacb5411a3b50de.bin 11KB
f0b2d682f26de16c3093eb5d8fc912fe.bin 10KB
7329dad36007927f035aa70f434036ad.bin 10KB
78cb7e0cd47baad0ffddb8083301fda6.bin 10KB
7e1882edc676481241b7c82b442f0a36.bin 10KB
67fde6a6a5e0327d805d02a70b03e2c3.bin 10KB
4d1b0918cf71f76ebdd8b94f24a127af.bin 10KB
651a574e5a90905e733435f947cb26b3.bin 9KB
b341d59b6707ca0e06d6d2c62581a220.bin 9KB
50b78bb82a3d59716e3f0a848308c480.bin 9KB
290a83db24fe7b86fc155b62ced0af29.bin 9KB
a21fdcd0dbd2303e75e7fa9e3c08a83a.bin 9KB
57605559dda6a148fbe6b9e39ce0cad9.bin 9KB
75c3a3657cbd7644dd8cda4cd2843b03.bin 9KB
f6939a813bfc2195afe443864d0ccc4c.bin 9KB
d618c2a7cd8720aa07ba4ae18f2af641.bin 9KB
1181e08891caaa20905774b9aeb7fa5b.bin 9KB
8a61a3ebceece49f502f4eae0935b702.bin 9KB
942d1f14b528d582e77f6ce95607f6a3.bin 9KB
1991473515ce308b9fc039ef1f02c976.bin 9KB
df842d6ac3912638b4304b41b13ccdd7.bin 8KB
f87870f9b4083f2dbfc5d2e6d8e5a2b4.bin 8KB
5653303983ad09c8bf218b86b5b42f9b.bin 8KB
4742cd57de1f8c437183be58b80d6c68.bin 8KB
487f85744c5b66979fdef87451e5ffb0.bin 8KB
a9681360451ca734e46f10b1c8857d84.bin 8KB
8b06afa65a923369543478bd9c865ba3.bin 8KB
24ad28b1ab6dfa5336468f16fd349314.bin 8KB
2adc5d100f15c62a78a5a6a8a58b7425.bin 8KB
256e2f559ded6b0abc7644bebc54d157.bin 8KB
c2695bab657c3d52f263998defcff230.bin 8KB
623a3ff0824715023b0f087e2c62c914.bin 8KB
376eb9c77ded85386c002b11c44ee97b.bin 8KB
b1ff8486b3dc4d770fe327a8f14b779f.bin 8KB
2aaac1b458340cc6211214b3bae7d46b.bin 8KB
e2936b5c8ca3411f3970db2a4847da8e.bin 8KB
c20018e81a7173ed43e7013e0e5cb1f8.bin 8KB
ceab808157cfdb714d4a94ca5bf24513.bin 8KB
f54635b5ac2a192ee211a9e15efbac50.bin 8KB
dc8552a062bf005e1befb1952e114f88.bin 8KB
be15f9990c0beb128555a26ea2d1da41.bin 8KB
a1ef7f2c0ea2b964ec50ffd3e4d2ca4d.bin 8KB
f08f3dfcbd913d86e920fc0b58b2c9d7.bin 8KB
47e034152ff746600fe63eab16542d4c.bin 8KB
7e2bd9f319dc8e6114f99175edd35e56.bin 8KB
905d12edde0b11de23b1d62ddfc06a41.bin 8KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
万象高达
- 粉丝: 53
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功