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)