From e41c45d73f8887e84b9a71815e951c5c3922c7a4 Mon Sep 17 00:00:00 2001 From: DCFApixels <99481254+DCFApixels@users.noreply.github.com> Date: Fri, 28 Feb 2025 11:20:58 +0800 Subject: [PATCH] fix --- Runtime/Materials/TextBackground.mat | 2 +- Samples/Scripts/DebugXSample_Other.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Runtime/Materials/TextBackground.mat b/Runtime/Materials/TextBackground.mat index 32b9923..88444a5 100644 --- a/Runtime/Materials/TextBackground.mat +++ b/Runtime/Materials/TextBackground.mat @@ -8,7 +8,7 @@ Material: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_Name: TextBackground - m_Shader: {fileID: 10755, guid: 0000000000000000f000000000000000, type: 0} + m_Shader: {fileID: 4800000, guid: 1af3913ae49e790418a8d901f8982caf, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 m_ValidKeywords: [] diff --git a/Samples/Scripts/DebugXSample_Other.cs b/Samples/Scripts/DebugXSample_Other.cs index 866d0f0..b5602dd 100644 --- a/Samples/Scripts/DebugXSample_Other.cs +++ b/Samples/Scripts/DebugXSample_Other.cs @@ -29,7 +29,6 @@ namespace DCFApixels.DebugXCore.Samples i++; DebugX.Draw(GetColor(Points[i])).BillboardCircle(Points[i].position, Points[i].localScale.x * RADIUS_M); i++; DebugX.Draw(GetColor(Points[i])).WireMesh(Points[i].position, Points[i].rotation, Points[i].localScale * RADIUS_M); Color backgroundColor = Color.white - GetColor(Points[i]); - //backgroundColor.a = 1; backgroundColor.a = 0.5f; i++; DebugX.Draw(GetColor(Points[i])).Text(Points[i].position, Points[i].name, DebugXTextSettings.Default.SetBackground(backgroundColor));