修改高亮

This commit is contained in:
YangHua 2023-09-17 17:06:30 +08:00
parent 1c3078e371
commit e84e8a46d8
3 changed files with 16 additions and 11 deletions

View File

@ -1,3 +1,4 @@
using HighlightingSystem;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
@ -58,6 +59,8 @@ public class ToolModelClick : MonoBehaviour
public GameObject line;
public GameObject Higth;
public Highlighter selfHighlighter;
private void Awake()
{
if (line != null)
@ -66,6 +69,8 @@ public class ToolModelClick : MonoBehaviour
{
Higth.SetActive(false);
}
selfHighlighter = GetComponent<Highlighter>();
selfHighlighter.ConstantOn();
}
private void OnMouseEnter()

View File

@ -5125,7 +5125,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 3350233854110697392, guid: 5a7d7e9bd76f93b418b1f916781feb6a, type: 3}
propertyPath: m_LocalPosition.x
value: -5.731
value: -5.72
objectReference: {fileID: 0}
- target: {fileID: 3350233854110697392, guid: 5a7d7e9bd76f93b418b1f916781feb6a, type: 3}
propertyPath: m_LocalPosition.y
@ -5133,11 +5133,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 3350233854110697392, guid: 5a7d7e9bd76f93b418b1f916781feb6a, type: 3}
propertyPath: m_LocalPosition.z
value: 4.747
value: 5.18
objectReference: {fileID: 0}
- target: {fileID: 3350233854110697392, guid: 5a7d7e9bd76f93b418b1f916781feb6a, type: 3}
propertyPath: m_LocalRotation.w
value: 0.535383
value: -0.0064957133
objectReference: {fileID: 0}
- target: {fileID: 3350233854110697392, guid: 5a7d7e9bd76f93b418b1f916781feb6a, type: 3}
propertyPath: m_LocalRotation.x
@ -5145,7 +5145,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 3350233854110697392, guid: 5a7d7e9bd76f93b418b1f916781feb6a, type: 3}
propertyPath: m_LocalRotation.y
value: 0.8446094
value: 0.9999789
objectReference: {fileID: 0}
- target: {fileID: 3350233854110697392, guid: 5a7d7e9bd76f93b418b1f916781feb6a, type: 3}
propertyPath: m_LocalRotation.z
@ -5157,7 +5157,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 3350233854110697392, guid: 5a7d7e9bd76f93b418b1f916781feb6a, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
value: 180.744
objectReference: {fileID: 0}
- target: {fileID: 3350233854110697392, guid: 5a7d7e9bd76f93b418b1f916781feb6a, type: 3}
propertyPath: m_LocalEulerAnglesHint.z

View File

@ -35,12 +35,12 @@
"source": "builtin",
"dependencies": {
"com.unity.ide.visualstudio": "2.0.16",
"com.unity.ide.rider": "3.0.16",
"com.unity.ide.rider": "3.0.15",
"com.unity.ide.vscode": "1.2.5",
"com.unity.editorcoroutines": "1.0.0",
"com.unity.performance.profile-analyzer": "1.1.1",
"com.unity.test-framework": "1.1.31",
"com.unity.testtools.codecoverage": "1.2.2"
"com.unity.testtools.codecoverage": "1.0.1"
}
},
"com.unity.ide.rider": {
@ -92,7 +92,7 @@
"url": "https://packages.unity.cn"
},
"com.unity.services.core": {
"version": "1.6.0",
"version": "1.4.2",
"depth": 1,
"source": "registry",
"dependencies": {
@ -121,7 +121,7 @@
"url": "https://packages.unity.cn"
},
"com.unity.testtools.codecoverage": {
"version": "1.2.2",
"version": "1.0.1",
"depth": 1,
"source": "registry",
"dependencies": {