This commit is contained in:
YangHua 2023-09-16 23:57:11 +08:00
parent e541ef2502
commit 27597ba5c4
5 changed files with 289 additions and 283 deletions

View File

@ -2,7 +2,10 @@ fileFormatVersion: 2
guid: 13e6757fcb98e1e4bbc94e07f67e0dbb
ModelImporter:
serializedVersion: 21300
internalIDToNameTable: []
internalIDToNameTable:
- first:
74: 1827226128182048838
second: Take 001
externalObjects:
- first:
type: UnityEngine:Material

View File

@ -2,7 +2,10 @@ fileFormatVersion: 2
guid: 6fbd9caa46e05824fb3eba389c7d1b27
ModelImporter:
serializedVersion: 21300
internalIDToNameTable: []
internalIDToNameTable:
- first:
74: 1827226128182048838
second: Take 001
externalObjects:
- first:
type: UnityEngine:Material

View File

@ -28,7 +28,7 @@ public class newfollow : MonoBehaviour
// 进行碰撞检测
bool res = Physics.Raycast(ray, out hit) && !EventSystem.current.IsPointerOverGameObject();
// 如果产生了碰撞
if (hit.transform.name.Equals(name))
{

View File

@ -35,12 +35,12 @@
"source": "builtin",
"dependencies": {
"com.unity.ide.visualstudio": "2.0.16",
"com.unity.ide.rider": "3.0.16",
"com.unity.ide.rider": "3.0.15",
"com.unity.ide.vscode": "1.2.5",
"com.unity.editorcoroutines": "1.0.0",
"com.unity.performance.profile-analyzer": "1.1.1",
"com.unity.test-framework": "1.1.31",
"com.unity.testtools.codecoverage": "1.2.2"
"com.unity.testtools.codecoverage": "1.0.1"
}
},
"com.unity.ide.rider": {
@ -92,7 +92,7 @@
"url": "https://packages.unity.cn"
},
"com.unity.services.core": {
"version": "1.6.0",
"version": "1.4.2",
"depth": 1,
"source": "registry",
"dependencies": {
@ -121,7 +121,7 @@
"url": "https://packages.unity.cn"
},
"com.unity.testtools.codecoverage": {
"version": "1.2.2",
"version": "1.0.1",
"depth": 1,
"source": "registry",
"dependencies": {