From 5b42b58743708e6dac16b3b5d0fe677b1b6b2871 Mon Sep 17 00:00:00 2001 From: poi-vrc <77053052+poi-vrc@users.noreply.github.com> Date: Fri, 2 Feb 2024 01:25:29 +0800 Subject: [PATCH] fix: solve compatibility problem with new MA callback order --- Editor/Triggers/VRChat/BuildCabinetCallback.cs | 3 +-- package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Editor/Triggers/VRChat/BuildCabinetCallback.cs b/Editor/Triggers/VRChat/BuildCabinetCallback.cs index 532fd34..9f53d74 100644 --- a/Editor/Triggers/VRChat/BuildCabinetCallback.cs +++ b/Editor/Triggers/VRChat/BuildCabinetCallback.cs @@ -25,13 +25,12 @@ namespace Chocopoi.DressingFramework.Triggers.VRChat { - [InitializeOnLoad] public class BuildCabinetCallback : IVRCSDKPreprocessAvatarCallback, IVRCSDKPostprocessAvatarCallback { private static readonly I18nTranslator t = I18nManager.Instance.FrameworkTranslator; private const string LogLabel = "BuildCabinetCallback"; - public int callbackOrder => -10000; + public int callbackOrder => -12000; // for mocking internal UI ui = new UnityEditorUI(); diff --git a/package.json b/package.json index d84277b..9a6002d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.chocopoi.vrc.dressingframework", "displayName": "DressingFramework", - "version": "1.1.0", + "version": "1.1.1", "unity": "2019.4", "description": "A framework that assembles DressingTools and provides interfaces for third-party developers.", "author": {