fix: 所有描边宽度提到0.1+补挂PingClickHandler/ChanraoTuibuHandler

This commit is contained in:
yangbear
2026-07-06 04:36:50 +08:00
parent 80fffd41e1
commit 3c76ce47df
5 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -4151,7 +4151,7 @@ Transform:
m_GameObject: {fileID: 672771960}
serializedVersion: 2
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: -9.026, y: -0, z: -8.122}
m_LocalPosition: {x: -8.752, y: -0, z: -8.122}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -25,7 +25,7 @@ public class ChanraoTuibuHandler : MonoBehaviour
var mat = new Material(Shader.Find("Custom/OutlineUnlit"));
mat.SetColor("_OutlineColor", new Color(0.2f, 0.5f, 1f, 1f));
mat.SetColor("_MainColor", new Color(0, 0, 0, 0));
mat.SetFloat("_OutlineWidth", 0.03f);
mat.SetFloat("_OutlineWidth", 0.1f);
var go = new GameObject("Outline");
go.transform.SetParent(transform, false);
go.AddComponent<MeshFilter>().sharedMesh = mf.sharedMesh;
@@ -31,7 +31,7 @@ public class PingClickHandler : MonoBehaviour
var mat = new Material(Shader.Find("Custom/OutlineUnlit"));
mat.SetColor("_OutlineColor", new Color(0.2f, 0.5f, 1f, 1f));
mat.SetColor("_MainColor", new Color(0, 0, 0, 0));
mat.SetFloat("_OutlineWidth", 0.03f);
mat.SetFloat("_OutlineWidth", 0.1f);
var go = new GameObject("Outline");
go.transform.SetParent(transform, false);
go.AddComponent<MeshFilter>().sharedMesh = mf.sharedMesh;
@@ -51,7 +51,7 @@ public class ShoseClickHandler : MonoBehaviour
var mat = new Material(shader);
mat.SetColor("_OutlineColor", new Color(0.2f, 0.5f, 1f, 1f));
mat.SetColor("_MainColor", new Color(0, 0, 0, 0));
mat.SetFloat("_OutlineWidth", 0.06f);
mat.SetFloat("_OutlineWidth", 0.1f);
var go = new GameObject("Outline");
go.transform.SetParent(transform, false);
go.AddComponent<MeshFilter>().sharedMesh = mf.sharedMesh;