From bc6e71a8043bfe429bab4f9ecb48fcd140761161 Mon Sep 17 00:00:00 2001 From: tliks Date: Sat, 21 Dec 2024 12:51:58 +0900 Subject: [PATCH] chore: Active = !selected.activeSelf --- Editor/Inspector/Menu/ToggleCreatorShortcut.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/Inspector/Menu/ToggleCreatorShortcut.cs b/Editor/Inspector/Menu/ToggleCreatorShortcut.cs index 55fd9bb1..3a65f9c4 100644 --- a/Editor/Inspector/Menu/ToggleCreatorShortcut.cs +++ b/Editor/Inspector/Menu/ToggleCreatorShortcut.cs @@ -59,7 +59,7 @@ namespace nadena.dev.modular_avatar.core.editor objToggle.Objects.Add(new ToggledObject { Object = new AvatarObjectReference(){ referencePath = path }, - Active = false + Active = !selected.activeSelf }); }