diff --git a/.vs/3d-bianpo/FileContentIndex/32e9494e-a8a5-46fd-9c58-cff2895a082a.vsidx b/.vs/3d-bianpo/FileContentIndex/32e9494e-a8a5-46fd-9c58-cff2895a082a.vsidx new file mode 100644 index 0000000..517bb5e Binary files /dev/null and b/.vs/3d-bianpo/FileContentIndex/32e9494e-a8a5-46fd-9c58-cff2895a082a.vsidx differ diff --git a/.vs/3d-bianpo/v17/DocumentLayout.json b/.vs/3d-bianpo/v17/DocumentLayout.json new file mode 100644 index 0000000..a7547be --- /dev/null +++ b/.vs/3d-bianpo/v17/DocumentLayout.json @@ -0,0 +1,41 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\Administrator\\Downloads\\3d-bianpo-main\\3d-bianpo\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{F55143E0-D1B8-21E1-97E2-7AB48647F077}|Assembly-CSharp.csproj|c:\\users\\administrator\\downloads\\3d-bianpo-main\\3d-bianpo\\assets\\scripts\\clicktofocus.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{F55143E0-D1B8-21E1-97E2-7AB48647F077}|Assembly-CSharp.csproj|solutionrelative:assets\\scripts\\clicktofocus.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 1, + "Children": [ + { + "$type": "Bookmark", + "Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "ClickToFocus.cs", + "DocumentMoniker": "C:\\Users\\Administrator\\Downloads\\3d-bianpo-main\\3d-bianpo\\Assets\\Scripts\\ClickToFocus.cs", + "RelativeDocumentMoniker": "Assets\\Scripts\\ClickToFocus.cs", + "ToolTip": "C:\\Users\\Administrator\\Downloads\\3d-bianpo-main\\3d-bianpo\\Assets\\Scripts\\ClickToFocus.cs", + "RelativeToolTip": "Assets\\Scripts\\ClickToFocus.cs", + "ViewState": "AgIAAHgAAAAAAAAAAAAYwJcAAAAVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2026-03-05T06:07:09.591Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index d7c4048..7a9d018 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -22431,7 +22431,11 @@ PrefabInstance: m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] - m_AddedComponents: [] + m_AddedComponents: + - targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 6d7fc7bbbeb536e4c981f30ad3aa73db, + type: 3} + insertIndex: -1 + addedObject: {fileID: 1633637615} m_SourcePrefab: {fileID: 100100000, guid: 6d7fc7bbbeb536e4c981f30ad3aa73db, type: 3} --- !u!4 &755711414 stripped Transform: @@ -47240,6 +47244,34 @@ MeshCollider: m_Convex: 0 m_CookingOptions: 30 m_Mesh: {fileID: 4914151225251177644, guid: 318b481f3afd9f941b10db6a097f8f25, type: 3} +--- !u!1 &1633637612 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 6d7fc7bbbeb536e4c981f30ad3aa73db, + type: 3} + m_PrefabInstance: {fileID: 755711413} + m_PrefabAsset: {fileID: 0} +--- !u!64 &1633637615 +MeshCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1633637612} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 5 + m_Convex: 0 + m_CookingOptions: 30 + m_Mesh: {fileID: -4782845725668569567, guid: 6d7fc7bbbeb536e4c981f30ad3aa73db, type: 3} --- !u!1001 &1634296931 PrefabInstance: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/ClickToFocus.cs b/Assets/Scripts/ClickToFocus.cs index 6df63a7..17ddf57 100644 --- a/Assets/Scripts/ClickToFocus.cs +++ b/Assets/Scripts/ClickToFocus.cs @@ -35,7 +35,7 @@ public class ClickToFocus : MonoBehaviour void Start() { mainCamera = Camera.main;//主相机的那个Camera组件跳转到的观测点 - targetObjectAndPosition.Add("sb_cexieyi001", new Vector3(-72.4f, 7.2f, -19.9f)); + targetObjectAndPosition.Add("sb_cexieyi001", new Vector3(-72.4f, 9.2f, -19.9f)); targetObjectAndPosition.Add("sb_cexieyi003", new Vector3(-90f, 7.2f, -19.9f)); targetObjectAndPosition.Add("sb_cexieyi005", new Vector3(-145.5f, 7.2f, -19.9f)); targetObjectAndPosition.Add("sb_cexieyi007", new Vector3(-167.3f, 7.2f, -19.9f));