diff --git a/Assets/Scenes/xianchang.unity b/Assets/Scenes/xianchang.unity index f00544e..86a1c34 100644 --- a/Assets/Scenes/xianchang.unity +++ b/Assets/Scenes/xianchang.unity @@ -1124,6 +1124,7 @@ MonoBehaviour: - {fileID: 229573283299024619} - {fileID: 4824165716070450316} Lights: {fileID: 44895514} + LightPanel: {fileID: 1348712107} Highlights: - {fileID: 82777335} - {fileID: 2096931764} @@ -9812,7 +9813,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: -774007479218458089, guid: e908463f3f6b7e54cb2ffaa2e941c53e, type: 3} propertyPath: m_StaticEditorFlags - value: 2147483647 + value: 0 objectReference: {fileID: 0} - target: {fileID: -721589306460459854, guid: e908463f3f6b7e54cb2ffaa2e941c53e, type: 3} propertyPath: m_StaticEditorFlags @@ -11952,8 +11953,8 @@ MonoBehaviour: flipY: 0 constantWidth: 1 subMeshMask: -1 - overlay: 0.25 - overlayColor: {r: 0.19751497, g: 1, b: 0.015686274, a: 1} + overlay: 0.616 + overlayColor: {r: 1, g: 0.21583778, b: 0.015686274, a: 1} overlayAnimationSpeed: 1 overlayMinIntensity: 0.5 overlayBlending: 1 diff --git a/Assets/Scripts/Line/LineManager.cs b/Assets/Scripts/Line/LineManager.cs index e6b023d..74e7f58 100644 --- a/Assets/Scripts/Line/LineManager.cs +++ b/Assets/Scripts/Line/LineManager.cs @@ -18,6 +18,10 @@ public class LineManager : MonoBehaviour public List Models = new List(); LineData lineData = new LineData(); public GameObject Lights; + /// + /// ¸ßÁÁ°å + /// + public HighlightEffect LightPanel; public List Highlights = new List(); public List Highlights_Backup = new List(); @@ -152,6 +156,7 @@ public class LineManager : MonoBehaviour Highlights[hightindext].highlighted = true; Highlights[hightindext].GetComponent().enabled = true; } + LightPanel.highlighted = false; } public IEnumerator Checkconnection(Transform transform, Transform transform2)