diff --git a/GQ_URP/GQ/Assets/Resources/古泉站机房模型90个型号/23.prefab b/GQ_URP/GQ/Assets/Resources/古泉站机房模型90个型号/23.prefab index a0af0b9d2..ef4beb44e 100644 --- a/GQ_URP/GQ/Assets/Resources/古泉站机房模型90个型号/23.prefab +++ b/GQ_URP/GQ/Assets/Resources/古泉站机房模型90个型号/23.prefab @@ -218,7 +218,7 @@ MeshRenderer: m_RendererPriority: 0 m_Materials: - {fileID: 2100000, guid: 923f7ec07b3bdbc488fbefc389cb8ee7, type: 2} - - {fileID: 2100000, guid: ab21ec9e6cb600643865a0c21468c1b7, type: 2} + - {fileID: 2100000, guid: 341de6c1a700fd14aacf3cdc10ab7152, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -1908,7 +1908,7 @@ MeshRenderer: m_RendererPriority: 0 m_Materials: - {fileID: 2100000, guid: 923f7ec07b3bdbc488fbefc389cb8ee7, type: 2} - - {fileID: 2100000, guid: 341de6c1a700fd14aacf3cdc10ab7152, type: 2} + - {fileID: 2100000, guid: ab21ec9e6cb600643865a0c21468c1b7, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 diff --git a/GQ_URP/GQ/Assets/Scenes/SampleSceneG_URP5.unity b/GQ_URP/GQ/Assets/Scenes/SampleSceneG_URP5.unity index 626879f9e..e023f45b7 100644 --- a/GQ_URP/GQ/Assets/Scenes/SampleSceneG_URP5.unity +++ b/GQ_URP/GQ/Assets/Scenes/SampleSceneG_URP5.unity @@ -18269,8 +18269,8 @@ LineRenderer: m_SortingLayer: 0 m_SortingOrder: 0 m_Positions: - - {x: 4.125517, y: 1.099105, z: -13.231124} - - {x: 4.191237, y: 1.099105, z: -13.23112} + - {x: 4.1387935, y: 1.099105, z: -13.244168} + - {x: 4.191237, y: 1.099105, z: -13.244164} - {x: 4.191237, y: 1.099105, z: -13.447843} - {x: 4.191237, y: -0.2364165, z: -13.447843} - {x: 8.607809, y: -0.23641652, z: -13.44809} @@ -19353,8 +19353,8 @@ MonoBehaviour: m_TargetGraphic: {fileID: 59510595} m_HandleRect: {fileID: 59510594} m_Direction: 2 - m_Value: -0.23728813 - m_Size: 0.9999919 + m_Value: -0.26495728 + m_Size: 0.99999195 m_NumberOfSteps: 0 m_OnValueChanged: m_PersistentCalls: @@ -20560,7 +20560,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 0.0625, y: 0.0044862647} + m_AnchoredPosition: {x: 781469600, y: 0.0045641917} m_SizeDelta: {x: 318.95, y: 443.74} m_Pivot: {x: 0.5, y: 1} --- !u!114 &413199003 @@ -40651,8 +40651,8 @@ LineRenderer: m_SortingLayer: 0 m_SortingOrder: 0 m_Positions: - - {x: 4.125517, y: 1.0982645, z: -13.008191} - - {x: 4.235695, y: 1.0982645, z: -13.00819} + - {x: 4.1399136, y: 1.0982645, z: -13.023589} + - {x: 4.235695, y: 1.0982645, z: -13.023588} - {x: 4.2426286, y: 1.0982645, z: -12.820676} - {x: 4.2426286, y: -0.2364165, z: -12.82763} - {x: 8.387253, y: -0.23641652, z: -12.84801} @@ -83838,8 +83838,8 @@ MonoBehaviour: m_TargetGraphic: {fileID: 1327205619} m_HandleRect: {fileID: 1327205618} m_Direction: 0 - m_Value: -22.005495 - m_Size: 0.9999913 + m_Value: -742323600 + m_Size: 0.9967102 m_NumberOfSteps: 0 m_OnValueChanged: m_PersistentCalls: @@ -93434,7 +93434,7 @@ PrefabInstance: - target: {fileID: 2884839113879379249, guid: 9235652616e46ef4d985723222cde70b, type: 3} propertyPath: m_LocalPosition.x - value: 0 + value: 0.0207 objectReference: {fileID: 0} - target: {fileID: 2884839113879379249, guid: 9235652616e46ef4d985723222cde70b, type: 3} @@ -93444,7 +93444,7 @@ PrefabInstance: - target: {fileID: 2884839113879379249, guid: 9235652616e46ef4d985723222cde70b, type: 3} propertyPath: m_LocalPosition.z - value: 0 + value: -0.0156 objectReference: {fileID: 0} - target: {fileID: 2884839113879379249, guid: 9235652616e46ef4d985723222cde70b, type: 3} diff --git a/GQ_URP/GQ/Assets/tooltest.cs b/GQ_URP/GQ/Assets/tooltest.cs deleted file mode 100644 index 38dc96694..000000000 --- a/GQ_URP/GQ/Assets/tooltest.cs +++ /dev/null @@ -1,114 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using Unity.VisualScripting; -using UnityEngine; - -public class tooltest : MonoBehaviour -{ - - public Transform a; - public Transform b; - public List A; - public List B; - - - - void Start() - { - - } - - // Update is called once per frame - void Update() - { - - } - - [ContextMenu("ճ5ű豸")] - public void Replace5() - { - var b1 = b.AddComponent(); - var b2 = b.AddComponent(); - var b3 = b.AddComponent(); - var b4 = b.AddComponent(); - var b5 = b.AddComponent(); - - UnityEditorInternal.ComponentUtility.CopyComponent(a.GetComponent()); - UnityEditorInternal.ComponentUtility.PasteComponentValues(b1); - - UnityEditorInternal.ComponentUtility.CopyComponent(a.GetComponent()); - UnityEditorInternal.ComponentUtility.PasteComponentValues(b2); - - UnityEditorInternal.ComponentUtility.CopyComponent(a.GetComponent()); - UnityEditorInternal.ComponentUtility.PasteComponentValues(b3); - - UnityEditorInternal.ComponentUtility.CopyComponent(a.GetComponent()); - UnityEditorInternal.ComponentUtility.PasteComponentValues(b4); - - UnityEditorInternal.ComponentUtility.CopyComponent(a.GetComponent()); - UnityEditorInternal.ComponentUtility.PasteComponentValues(b5); - - if (!b.GetComponent()) b.AddComponent(); - } - - [ContextMenu("-----------------------------------------------------------------")] - [ContextMenu("ճ4ű忨")] - public void Replace4() - { - for (int i = 0; i < A.Count; i++) - { - var b1 = B[i].AddComponent(); - //var b2 = B.AddComponent(); - var b3 = B[i].AddComponent(); - var b4 = B[i].AddComponent(); - //var b5 = B.AddComponent(); - var b6 = B[i].AddComponent(); - - UnityEditorInternal.ComponentUtility.CopyComponent(A[i].GetComponent()); - UnityEditorInternal.ComponentUtility.PasteComponentValues(b1); - - //UnityEditorInternal.ComponentUtility.CopyComponent(A.GetComponent()); - //UnityEditorInternal.ComponentUtility.PasteComponentValues(b2); - - UnityEditorInternal.ComponentUtility.CopyComponent(A[i].GetComponent()); - UnityEditorInternal.ComponentUtility.PasteComponentValues(b3); - - UnityEditorInternal.ComponentUtility.CopyComponent(A[i].GetComponent()); - UnityEditorInternal.ComponentUtility.PasteComponentValues(b4); - - //UnityEditorInternal.ComponentUtility.CopyComponent(A.GetComponent()); - //UnityEditorInternal.ComponentUtility.PasteComponentValues(b5); - - UnityEditorInternal.ComponentUtility.CopyComponent(A[i].GetComponent()); - UnityEditorInternal.ComponentUtility.PasteComponentValues(b6); - - if (!B[i].GetComponent()) B[i].AddComponent(); - } - } - - [ContextMenu("-----------------------------------------------------------------")] - [ContextMenu("ճ2ű˿ڣ")] - public void Replace2() - { - for (int i = 0; i < A.Count; i++) - { - PortQuery b1 = B[i].AddComponent(); - //var b2= B[i].AddComponent<> - UnityEditorInternal.ComponentUtility.CopyComponent(A[i].GetComponent()); - UnityEditorInternal.ComponentUtility.PasteComponentValues(b1); - B[i].position = A[i].position; - B[i].gameObject.layer = 11; - B[i].GetComponent().portList.portPosition = (i + 1).ToString(); - } - } - - [ContextMenu("˿λ")] - public void Replace2_() - { - for (int i = 0; i < B.Count; i++) - { - var b1 = B[i].GetComponent(); - b1.portList.portPosition = (i + 1).ToString(); - } - } -} diff --git a/GQ_URP/GQ/Assets/tooltest.cs.meta b/GQ_URP/GQ/Assets/tooltest.cs.meta deleted file mode 100644 index 108cdc991..000000000 --- a/GQ_URP/GQ/Assets/tooltest.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 08598a3519fbad24195f9a93c4b44600 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: