# 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://[email protected]:unity/com.unity.cloud.collaborate.git"
```
If you need a specific revisision:
```
"com.unity.collab-proxy": "git://[email protected]: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.
没有合适的资源?快使用搜索试试~ 我知道了~
基于 Unity3D 的 2 ~ 10 阶魔方实现(更新版)
共2000个文件
meta:5189个
cs:3388个
png:1117个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 4 下载量 111 浏览量
2023-05-17
23:11:12
上传
评论
收藏 486.89MB ZIP 举报
温馨提示
本资源基于 Unity3D 实现了 2 ~ 10 阶魔方的整体旋转和局部旋转,详细需求如下: 1)魔方渲染模块 用户选择魔方阶数,渲染指定阶数的魔方; 2)魔方整体控制模块 用户 Scroll 或 Ctrl + Scroll,控制魔方放大和缩小; 用户 Drag 空白处(或右键 Drag),控制魔方整体连续旋转; 用户点击翻面按钮(或方向键,或 Ctrl + Drag,或 Alt + Drag),控制魔方翻面; 用户点击朝上的面按钮,控制魔方指定面朝上; 3)魔方局部控制模块 用户点击刷新按钮,打乱魔方; 用户 Drag 魔方相邻的两个方块,控制该层旋转,Drag 结束自动对齐魔方(局部旋转); 用户输入公式,提交后执行公式旋转对应层; 每次局部旋转结束,检验魔方是否拼成,若拼成,弹出通关提示; 4)魔方动画模块 魔方翻面动画; 魔方指定面朝上动画; 魔方打乱动画; 魔方局部旋转对齐动画; 公式控制魔方旋转动画; 通关弹窗动画(渐变+缩放+平移); 效果见:https://blog.csdn.net/m0_37602827/article/details/130210697
资源推荐
资源详情
资源评论
收起资源包目录
基于 Unity3D 的 2 ~ 10 阶魔方实现(更新版) (2000个子文件)
000449251c964c0170e8be3f595afe46 5KB
0025118eefd335204c3aff5587e8e8cc 30KB
00342a1f96d4b2d1af4890865196315e 11KB
00346c321a5206379bffc592be2623883e8a39 104KB
00355a9276721decd5c51ffe1ed37f9e 12KB
004779a5e5d4b92873e9dadcc338dadc 8KB
0059158641284fa0ff07ae10333d066333da5c 2KB
006740ba37b7fe601f439bacddffab1a9e9552 67KB
006a264b0744e53fd9d8301fa9aa0954 30KB
006cfaae89b2e3e1fcb23b121300cff9 19KB
007850dd2a8f28284c36c043781043d7 6KB
008aa1ccf2e6d32c0afc90af59be1dd2 5KB
009dc2b1927aae7c980ab7de6f3abc8f 6KB
00b16ce4d4fb86c6c5c630fb7146fe0a 6KB
00b481edf1f6977f5aa6ab60d9c4e997 6KB
00b722f4a2f914886263388fb4391848 186KB
00ba75ca932a29ec76427474cbaca24fe40335 339B
00c60626a848fae5b2ae29410ee22f98 5KB
00e1523aa5272e5b799130bef39136d4 30KB
00ef8a7b5893dceb16f2f7b4efb276f1 30KB
01008964bde4e9be3f350e11ba3ac213 29KB
011329c5448cabb594a42ebef3312405 6KB
0115d9a4221131b82c70bacc56edde29 6KB
0116694aec95b9105a850d63b97d9242 5KB
012188dd863452d4f5189ef6e06f3957 5KB
0139513aa5b87a5831f1a385cc65b990 12KB
013c591fb0b89168e2065d54d828a7ee 5KB
0148abcaa66eed69a0959413cded8a1b 6KB
01495f300e5e68513172562b4fdaeb1e 4KB
014f2e8c20386b330529d3cae5d88061 5KB
015b2b62cbc4649b315efde0f14a0abc07dc58 163B
016a0cab06fb693a3750e2881f45c787 9KB
016e446e2d59b9345528de60b3f587d7 7KB
017017a25fadd7d54253c3ffcd17ee0b 19KB
0172c05421744352c858a21f8c9051d6 5KB
01767a69cad71e7c2db952c93e4206a7 4KB
0179c53a0c9645c29927ef5eaa14e923 5KB
0194c4501fb26ce6a29482e0c4ed0ac2 5KB
01967d07c36b9015ae37d30b6888bcd4 8KB
01a2f508612789314cce164ec91b73d5 17KB
01c105231141208bd3e6c2db66630385 30KB
01d3a62dc2f5ed3ffcdade7837f613c4 6KB
01fb60c51b61c2dd09c406a3813387c7 9KB
02081fec500c755fd6f2c1f46ae3dd9f 5KB
022201fa4bca4ef873ad08211bf6c62a 6KB
024960e3ce09249457724e94a55e1ee7 6KB
024d7d1ce72c168f251b1d2b1f82c8b5 5KB
0277d8c719969074cc997cb5edc6257132c2f702275b2fba7686fcd76640b84e 260B
027d6460ec55e7acca8d8cbcb3efe15b 18KB
028391864e7655d339941f6aeaaa26f7 5KB
028968b7b7423dfd75f1a2d4ee5f240e 6KB
029e50b319fc0270fc645c51fb458c3a 5KB
029e8a33b707508911d1d204d4a5ce67 5KB
02d3067cd8bb6cecc69b84adc15d973e 5KB
02e23c2c848671bb7d388c1c5646a67f 5KB
02f66a42342a46f4d40fb5e3c4407cfce9d012 1KB
030663a833d407924f75792af546e16d 22KB
031583d0ed335a6ece3f60c29a070531 24KB
0315ca2f265a18b332be65bb46c571ca 4KB
031c9a09429a9333ff6cda001e61ac30 31KB
0326ade7b97c79ac6f55760444bf9064 5KB
03488e59b6c14d40b5f49a4de5ff61b0 284KB
034974927b727c4d4c59f10ca531c9181d5489 80KB
034e73e8106dfda45baab2f9f1476054 6KB
035264459e1f4bcc968639dfa11e435a 30KB
0376dad70bf9443072ab27a2f97a85fc 19KB
0382bd9112a21b75b802fb0b1b93eb34 10KB
0390bcd4d808ebf79942a6712c4732ee 6KB
0393aa8d857a1291a0e819d524d9d19d 61KB
03a052cd72cbaa3c2d58f22459f117a3 6KB
03b962a434498b9c3ecfa0f5593444e6 7KB
03d45b6dc9a51bf8c64480eaeeccc921 4KB
03d5f7bf03099973a18e6ec5de8578db957ec6b3ade624e80c0253aae4d37518 573B
03d8f3b391331bc0826737f306c79464 5KB
03e4d8ab46f1f927802ca8668c05a710 9KB
04047c4200358a4e24388b51e37e2544 5KB
040b4ea4b8f455590f330c3aaeca4aa9 19KB
0419dc02638e2aa58a80e2a5e5855589 29KB
0432ea6cf0f4536ec51a16f7d243b667 7KB
043a475677c5f1518b274144de75ad93 5KB
044d4ca5db8c3ea542a6aa620b642331 20KB
044e7b933f24b196141f0092d0b42d46 6KB
04522f67400861da9dafdaa5779d440f 24KB
0461f6416ac898396a6ef6c2b7be3085 19KB
047beece5cab68beda434747ab183252 4KB
0489c7b01c91b8846f400e879bef2149 22KB
0493c902f822c2712d3de99e16386088 29KB
04a7c62fd7d971fc3d97c7b418cbe95f 11KB
04b024ea19ebf72368525fcb2fc7ca0c 5KB
04b9a0da60cf51c7641a0fb75c4154d49aaa87 821B
04be47758786a4efe6b38d06eb26bee6 6KB
04f13936327dd3f07cf21948fda8d0bc 22KB
04fad932120dc0abc980ff7c694c00c8 10KB
050689b25bac9cb486defd35de715c6b 18KB
050e35e230bac71a584ca2e004853514fa35cb6536abdb33c32a436277e16217 361B
05187eecaf4fabdf5f11b5e63cd50aa4 6KB
052ce51fbbed23860f77b00d71103bb2 6KB
0530d8c1b9d482940f9416fd51c99960 19KB
053b44afb8eb59c38b3e4e09828ab8e7 8KB
053d979c5048466708ac0a3095101a5b 19KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
- xzxunzi2023-06-08这个资源对我启发很大,受益匪浅,学到了很多,谢谢分享~
- qq_398586542023-10-12发现一个宝藏资源,资源有很高的参考价值,赶紧学起来~
- beautiful_code_2023-11-17总算找到了想要的资源,搞定遇到的大问题,赞赞赞!
- 2301_786837542024-04-14果断支持这个资源,资源解决了当前遇到的问题,给了新的灵感,感谢分享~
little_fat_sheep
- 粉丝: 5041
- 资源: 137
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功