From 6495fa22c2c3a1b4ac9f9ed51b59aeb1da794ef7 Mon Sep 17 00:00:00 2001 From: hantabaru1014 Date: Thu, 4 Aug 2022 00:33:13 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BB=96=E3=81=AE=E4=BA=BA=E3=81=8B=E3=82=89?= =?UTF-8?q?=E3=83=9C=E3=82=BF=E3=83=B3=E3=82=92=E8=A6=8B=E3=81=88=E3=81=AA?= =?UTF-8?q?=E3=81=84=E3=82=88=E3=81=86=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RemoveNABlendshapes.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/RemoveNABlendshapes.cs b/RemoveNABlendshapes.cs index d2f2451..d44dafe 100644 --- a/RemoveNABlendshapes.cs +++ b/RemoveNABlendshapes.cs @@ -24,6 +24,7 @@ static void Postfix(SkinnedMeshRenderer __instance, UIBuilder ui) { var removeBtn = ui.Button("Remove N/A Blendshapes"); removeBtn.LocalPressed += (IButton btn, ButtonEventData data) => RemoveNAshapes(__instance); + removeBtn.Slot.ActiveSelf_Field.OverrideForUser(removeBtn.LocalUser, true).Default.Value = false; // Make the button invisible for other users } private static void RemoveNAshapes(SkinnedMeshRenderer instance)