优化高亮
This commit is contained in:
parent
8cb800eb04
commit
821668adfc
|
|
@ -1125,6 +1125,7 @@ MonoBehaviour:
|
|||
- {fileID: 4824165716070450316}
|
||||
Lights: {fileID: 44895514}
|
||||
LightPanel: {fileID: 1348712107}
|
||||
Devices: {fileID: 1505539334}
|
||||
Highlights:
|
||||
- {fileID: 82777335}
|
||||
- {fileID: 2096931764}
|
||||
|
|
@ -12669,7 +12670,7 @@ MonoBehaviour:
|
|||
constantWidth: 1
|
||||
subMeshMask: -1
|
||||
overlay: 0.25
|
||||
overlayColor: {r: 1, g: 0.75733966, b: 0.015686274, a: 1}
|
||||
overlayColor: {r: 1, g: 0.015686274, b: 0.034025006, a: 1}
|
||||
overlayAnimationSpeed: 1
|
||||
overlayMinIntensity: 0
|
||||
overlayBlending: 1
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ public class LineManager : MonoBehaviour
|
|||
LineData lineData = new LineData();
|
||||
public GameObject Lights;
|
||||
/// <summary>
|
||||
/// 高亮板
|
||||
/// 高亮板、机器
|
||||
/// </summary>
|
||||
public HighlightEffect LightPanel;
|
||||
public HighlightEffect LightPanel, Devices;
|
||||
public List<HighlightEffect> Highlights = new List<HighlightEffect>();
|
||||
|
||||
public List<HighlightEffect> Highlights_Backup = new List<HighlightEffect>();
|
||||
|
|
@ -157,6 +157,7 @@ public class LineManager : MonoBehaviour
|
|||
Highlights[hightindext].GetComponent<BoxCollider>().enabled = true;
|
||||
}
|
||||
LightPanel.highlighted = false;
|
||||
Devices.highlighted = false;
|
||||
}
|
||||
|
||||
public IEnumerator Checkconnection(Transform transform, Transform transform2)
|
||||
|
|
|
|||
Loading…
Reference in New Issue