# 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.
没有合适的资源?快使用搜索试试~ 我知道了~
缩放、平移、旋转场景代码实现
共2000个文件
meta:5176个
cs:3410个
png:1080个
5星 · 超过95%的资源 需积分: 33 9 下载量 16 浏览量
2022-11-13
16:32:54
上传
评论 1
收藏 90.96MB RAR 举报
温馨提示
本资源通过变换相机的位置和姿态,让用户感觉场景中所有对象在同步缩放、平移、旋转。该方案不会破环场景中对象的尺寸、位置、姿态,更贴近真实世界的规则,也不需要将所有对象都放在同一个根对象下。通过 Ctrl+Scroll 缩放场景,Ctrl+Drag 平移场景,Alt+Drag 旋转场景,并且会有鼠标样式变化。
资源推荐
资源详情
资源评论
收起资源包目录
缩放、平移、旋转场景代码实现 (2000个子文件)
000449251c964c0170e8be3f595afe46 5KB
0025118eefd335204c3aff5587e8e8cc 30KB
00342a1f96d4b2d1af4890865196315e 11KB
00355a9276721decd5c51ffe1ed37f9e 12KB
004779a5e5d4b92873e9dadcc338dadc 8KB
006a264b0744e53fd9d8301fa9aa0954 30KB
007850dd2a8f28284c36c043781043d7 6KB
008aa1ccf2e6d32c0afc90af59be1dd2 5KB
009dc2b1927aae7c980ab7de6f3abc8f 6KB
00b16ce4d4fb86c6c5c630fb7146fe0a 6KB
00b722f4a2f914886263388fb4391848 186KB
00c60626a848fae5b2ae29410ee22f98 5KB
00d5974b5138b9f6567d126ce3bca64f 6KB
011329c5448cabb594a42ebef3312405 6KB
0115d9a4221131b82c70bacc56edde29 6KB
0116694aec95b9105a850d63b97d9242 5KB
012188dd863452d4f5189ef6e06f3957 5KB
0139513aa5b87a5831f1a385cc65b990 12KB
013c591fb0b89168e2065d54d828a7ee 5KB
0144865c31a175e5a849ebdf082e42a4 19KB
0148abcaa66eed69a0959413cded8a1b 6KB
01495f300e5e68513172562b4fdaeb1e 4KB
014f2e8c20386b330529d3cae5d88061 5KB
016a0cab06fb693a3750e2881f45c787 9KB
016e446e2d59b9345528de60b3f587d7 7KB
017017a25fadd7d54253c3ffcd17ee0b 19KB
0172c05421744352c858a21f8c9051d6 5KB
01767a69cad71e7c2db952c93e4206a7 4KB
0179c53a0c9645c29927ef5eaa14e923 5KB
0194c4501fb26ce6a29482e0c4ed0ac2 5KB
01967d07c36b9015ae37d30b6888bcd4 8KB
01a2f508612789314cce164ec91b73d5 17KB
01cafd33f1a40837974c922ba6ad3d9d 5KB
01d3a62dc2f5ed3ffcdade7837f613c4 6KB
01fb60c51b61c2dd09c406a3813387c7 9KB
02081fec500c755fd6f2c1f46ae3dd9f 5KB
022201fa4bca4ef873ad08211bf6c62a 6KB
024960e3ce09249457724e94a55e1ee7 6KB
024d7d1ce72c168f251b1d2b1f82c8b5 5KB
027d6460ec55e7acca8d8cbcb3efe15b 18KB
028391864e7655d339941f6aeaaa26f7 5KB
028968b7b7423dfd75f1a2d4ee5f240e 6KB
029e50b319fc0270fc645c51fb458c3a 5KB
029e8a33b707508911d1d204d4a5ce67 5KB
02d3067cd8bb6cecc69b84adc15d973e 5KB
02e23c2c848671bb7d388c1c5646a67f 5KB
031583d0ed335a6ece3f60c29a070531 24KB
0326ade7b97c79ac6f55760444bf9064 5KB
03488e59b6c14d40b5f49a4de5ff61b0 284KB
034e73e8106dfda45baab2f9f1476054 6KB
0376dad70bf9443072ab27a2f97a85fc 19KB
0382bd9112a21b75b802fb0b1b93eb34 10KB
0390bcd4d808ebf79942a6712c4732ee 6KB
03a052cd72cbaa3c2d58f22459f117a3 6KB
03b962a434498b9c3ecfa0f5593444e6 7KB
03d45b6dc9a51bf8c64480eaeeccc921 4KB
03d7a5917e9d23053847b43f2fef0ab2 7KB
03d8f3b391331bc0826737f306c79464 5KB
03e4d8ab46f1f927802ca8668c05a710 9KB
040b4ea4b8f455590f330c3aaeca4aa9 19KB
0419dc02638e2aa58a80e2a5e5855589 29KB
0432ea6cf0f4536ec51a16f7d243b667 7KB
043a475677c5f1518b274144de75ad93 5KB
044d4ca5db8c3ea542a6aa620b642331 20KB
044e7b933f24b196141f0092d0b42d46 6KB
04522f67400861da9dafdaa5779d440f 24KB
047beece5cab68beda434747ab183252 4KB
0489c7b01c91b8846f400e879bef2149 22KB
04a7c62fd7d971fc3d97c7b418cbe95f 11KB
04b024ea19ebf72368525fcb2fc7ca0c 5KB
04be47758786a4efe6b38d06eb26bee6 6KB
04e507ebfa836da679bf2d636403de6a 50KB
04fad932120dc0abc980ff7c694c00c8 10KB
050689b25bac9cb486defd35de715c6b 18KB
05187eecaf4fabdf5f11b5e63cd50aa4 6KB
052ce51fbbed23860f77b00d71103bb2 6KB
0530d8c1b9d482940f9416fd51c99960 19KB
053b44afb8eb59c38b3e4e09828ab8e7 8KB
05447be295eb9eb36c06b7626bb0c6e6 8KB
0549e442c8138e7e3ea2910d004b0f03 11KB
055153143a82289e0bdbb76025cf22b6 7KB
0555b29a186fe2a6775b3b186008af0d 6KB
056a52e0ab889ed53d737ed185449ad9 6KB
0580b0fe2ac1e319bea1b6727da8e320 5KB
05a1ec6a9bfdae007804b4437f6e5729 30KB
05b1b5c193db281cbe73a43ff33e6c16 8KB
05b25adc2bb2559fb2ff021e22b9a1cb 6KB
05d21cdd0f406d0d9393bcd70b01a17d 5KB
05f500426079444e4bbf99a926244918 19KB
0609f1d1469cf5545339fe198a5cd1e1 9KB
0619bfa152b0295b23146a3566f11558 22KB
06253d9a8e34cc59340269c65d5846c6 5KB
0628f61fadf575fc6d6f17005912beda 19KB
062d5dc3b7bfa60b7c4d588a9ff6365f 7KB
06320bce196f89d919bd1cd214293d91 29KB
065b5cef15c417ac5bafbb605e3ee43a 19KB
066258bba916588f199b3422d5412998 4KB
066337f0c7d64434d82a319e2886682c 16KB
0679d5765ecb046999d8be8f1bdc0c7f 29KB
0698cc24edc89cb3043acf3eafc730b8 20KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
- SeaNico2023-07-27这份代码实现了场景的多种操作,能够满足不同需求,十分实用。
- 村上树树8252023-07-27这份代码虽然简洁,但非常实用,我轻松实现了场景的旋转效果。
- ShepherdYoung2023-07-27这个文件的代码非常易读,实现了场景的缩放、平移和旋转操作,让我感到非常满意。
- 独角兽邹教授2023-07-27这个文件提供了简单易懂的代码实现,轻松让你实现场景的缩放、平移和旋转功能。
- ai2023-07-27这个文件给予了我很大帮助,让我轻松地完成了场景的缩放和平移操作。
little_fat_sheep
- 粉丝: 5020
- 资源: 136
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- QuestionTwo.java
- QuestionOne.java
- OA办公自动化管理系统(Struts1.2+Hibernate3.0+Spring2+DWR).rar
- 简历-求职简历-word-文件-简历模版免费分享-应届生-高颜值简历模版-个人简历模版-简约大气-大学生在校生-求职-实习
- 南京邮电大学数学实验:熟练掌握 Matlab 软件的基本命令和操作
- 简历-求职简历-word-文件-简历模版免费分享-应届生-高颜值简历模版-个人简历模版-简约大气-大学生在校生-求职-实习
- 2017校招真题校园招聘真题算法题(37道)Python源码.zip
- 基于单片机protues仿真的多功能自动饮水机系统设计(仿真图、源代码、演示视频)
- 论文《一种修复流程挖掘事件日志中缺失活动标签的深度学习方法》翻译
- 智慧电厂相关资料发电控制的方式
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功