aboutsummaryrefslogtreecommitdiff
path: root/Packages
diff options
context:
space:
mode:
authorWeicao-CatilGrass <1992414357@qq.com>2026-05-30 17:19:33 +0800
committerWeicao-CatilGrass <1992414357@qq.com>2026-05-30 17:19:33 +0800
commit4408cc53e044a9c649572991a764f46d247c67bf (patch)
tree3885c3bfddb2a53527f533d2096a6f036824b035 /Packages
parent6820cbf9a79016bb9f437a131af42d46aeb26adc (diff)
更新相机部分
1. 增加 Cinemachine 2. 将 Camera Holder 独立成 Prefab 3. 将 CameraHandler 字段 targetTransform 改名为 player 并提至开头 4. CameraHandler 现在会自动绑定 PlayerLocomotion 所在对象 (如果没设置 player)
Diffstat (limited to 'Packages')
-rw-r--r--Packages/manifest.json1
-rw-r--r--Packages/packages-lock.json9
2 files changed, 10 insertions, 0 deletions
diff --git a/Packages/manifest.json b/Packages/manifest.json
index 1a5648d..b2e51f6 100644
--- a/Packages/manifest.json
+++ b/Packages/manifest.json
@@ -1,5 +1,6 @@
{
"dependencies": {
+ "com.unity.cinemachine": "2.10.7",
"com.unity.collab-proxy": "2.4.4",
"com.unity.ide.rider": "3.0.31",
"com.unity.ide.visualstudio": "2.0.22",
diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json
index efac0b2..8963ad0 100644
--- a/Packages/packages-lock.json
+++ b/Packages/packages-lock.json
@@ -10,6 +10,15 @@
},
"url": "https://packages.unity.cn"
},
+ "com.unity.cinemachine": {
+ "version": "2.10.7",
+ "depth": 0,
+ "source": "registry",
+ "dependencies": {
+ "com.unity.test-framework": "1.1.31"
+ },
+ "url": "https://packages.unity.cn"
+ },
"com.unity.collab-proxy": {
"version": "2.4.4",
"depth": 0,