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;
+10 -4
View File
@@ -3,10 +3,16 @@
--- !u!937362698 &1
VFXManager:
m_ObjectHideFlags: 0
m_IndirectShader: {fileID: 0}
m_CopyBufferShader: {fileID: 0}
m_SortShader: {fileID: 0}
m_StripUpdateShader: {fileID: 0}
m_IndirectShader: {fileID: 7200000, guid: 84a17cfa13e40ae4082ef42714f0a81c, type: 3}
m_CopyBufferShader: {fileID: 7200000, guid: 23c51f21a3503f6428b527b01f8a2f4e, type: 3}
m_SortShader: {fileID: 7200000, guid: ea257ca3cfb12a642a5025e612af6b2a, type: 3}
m_StripUpdateShader: {fileID: 7200000, guid: 8fa6c4009fe2a4d4486c62736fc30ad8, type: 3}
m_EmptyShader: {fileID: 4800000, guid: 33a2079f6a2db4c4eb2e44b33f4ddf6b, type: 3}
m_RenderPipeSettingsPath:
m_FixedTimeStep: 0.016666668
m_MaxDeltaTime: 0.05
m_MaxScrubTime: 30
m_CompiledVersion: 7
m_RuntimeVersion: 35
m_RuntimeResources: {fileID: 11400000, guid: bc10b42afe3813544bffd38ae2cd893d, type: 2}
m_BatchEmptyLifetime: 300