优化场景高亮
This commit is contained in:
parent
1699204f06
commit
8cb800eb04
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -18,6 +18,10 @@ public class LineManager : MonoBehaviour
|
|||
public List<GameObject> Models = new List<GameObject>();
|
||||
LineData lineData = new LineData();
|
||||
public GameObject Lights;
|
||||
/// <summary>
|
||||
/// 高亮板
|
||||
/// </summary>
|
||||
public HighlightEffect LightPanel;
|
||||
public List<HighlightEffect> Highlights = new List<HighlightEffect>();
|
||||
|
||||
public List<HighlightEffect> Highlights_Backup = new List<HighlightEffect>();
|
||||
|
|
@ -152,6 +156,7 @@ public class LineManager : MonoBehaviour
|
|||
Highlights[hightindext].highlighted = true;
|
||||
Highlights[hightindext].GetComponent<BoxCollider>().enabled = true;
|
||||
}
|
||||
LightPanel.highlighted = false;
|
||||
}
|
||||
|
||||
public IEnumerator Checkconnection(Transform transform, Transform transform2)
|
||||
|
|
|
|||
Loading…
Reference in New Issue