private static void OpenWindowFromMenu_Tool() { ToolCommon.SetSelectedMaterials(MatSelectMode.FromSceneOrAsset); GetWindow <ToolMigrationWindow>("UnlitWF/Migration material"); }
private static void OpenWindowFromMenu_Asset() { ToolCommon.SetSelectedMaterials(MatSelectMode.FromAssetDeep); GetWindow <ToolResetWindow>("UnlitWF/Reset material property"); }
private static void OpenWindowFromMenu_Tool() { ToolCommon.SetSelectedMaterials(MatSelectMode.FromSceneOrAsset); GetWindow <ToolCopyWindow>("UnlitWF/Copy material property"); }
[MenuItem(WFMenu.GAMEOBJECT_CREANUP, priority = 10)] // GameObject/配下は priority の扱いがちょっと特殊 private static void OpenWindowFromMenu_GameObject() { ToolCommon.SetSelectedMaterials(MatSelectMode.FromScene); GetWindow <ToolCreanUpWindow>("UnlitWF/CleanUp material property"); }