diff --git a/Assets/VRM10/Editor/Components/SpringBone/VRM10SpringBoneColliderGroupEditor.cs b/Assets/VRM10/Editor/Components/SpringBone/VRM10SpringBoneColliderGroupEditor.cs index 079129434..012a3e162 100644 --- a/Assets/VRM10/Editor/Components/SpringBone/VRM10SpringBoneColliderGroupEditor.cs +++ b/Assets/VRM10/Editor/Components/SpringBone/VRM10SpringBoneColliderGroupEditor.cs @@ -43,7 +43,11 @@ namespace UniVRM10 { bindingPath = nameof(VRM10SpringBoneColliderGroup.Colliders) }; +#if UNITY_2022_3_OR_NEWER m_colliders.selectionChanged += (e) => +#else + m_colliders.onSelectionChange += (e) => +#endif { var item = (SerializedProperty)e.FirstOrDefault(); if (item == null) diff --git a/Assets/VRM10/Editor/Vrm10InstanceEditor.cs b/Assets/VRM10/Editor/Vrm10InstanceEditor.cs index 4c6cc7c28..906398682 100644 --- a/Assets/VRM10/Editor/Vrm10InstanceEditor.cs +++ b/Assets/VRM10/Editor/Vrm10InstanceEditor.cs @@ -309,7 +309,11 @@ namespace UniVRM10 root.Add(m_springs); var selected = new PropertyField(); +#if UNITY_2022_3_OR_NEWER m_springs.selectedIndicesChanged += (e) => +#else + m_springs.onSelectedIndicesChange += (e) => +#endif { var values = e.ToArray(); if (values.Length > 0) diff --git a/README.md b/README.md index 387644f83..2698b2346 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ UniVRM can import/export following supported file types at both runtime and edit ## Supported Environments -The latest UniVRM supports Unity 2021.3 LTS or later. +The latest UniVRM supports Unity 2022.3 LTS or later from `v0.128.0`. UniVRM supports scripting backends both .NET and IL2CPP.