UniVRM/Packages/VRM10/Editor/Components
Isamu Mogi 2445f98017 Unity 6.2 以降 6.5 未満で TreeView が Obsolete 警告を出すのに対応
Unity 6.2 の時点で、非Genericな `TreeView` が Obsolete となり警告が出るようになりました。これを抑制します。

Unity 6.5 でそのクラスは削除されたため、 https://github.com/vrm-c/UniVRM/issues/2803 で `#if UNITY_6000_5_OR_NEWER` を用いて Unity 6.5 以降はGeneric版の `TreeView<int>`  に置き換わるようになっています。

この `#if` 条件を `UNITY_6000_2_OR_NEWER` に拡張することで、 6.5 未満かつ 6.2 の場合でも新版を利用するようにし、警告が出力されないようにしました。

発生していた警告は次のようなものでした。

```
Packages\VRM10\Editor\Components\SpringBone\SpringBoneTreeView.cs(14,39): warning CS0618: 'TreeView' is obsolete: 'TreeView is now deprecated. You can likely now use TreeView<int> instead and not think more about it. But if you were using that identifier to store InstanceID data, you should instead opt to upgrade your TreeViews to use TreeView<InstanceID> to get the proper typing.'
```
2026-07-04 15:48:55 +09:00
..
Attribute
Expression
FirstPerson
SpringBone Unity 6.2 以降 6.5 未満で TreeView が Obsolete 警告を出すのに対応 2026-07-04 15:48:55 +09:00
Attribute.meta
Expression.meta
FirstPerson.meta
ScrollView.cs
ScrollView.cs.meta
SpringBone.meta
VRM10MetaEditor.cs
VRM10MetaEditor.cs.meta
VRM10MetaPropertyValidator.cs
VRM10MetaPropertyValidator.cs.meta
VRM10ObjectEditor.cs
VRM10ObjectEditor.cs.meta
VRM10ObjectLookAtEditor.cs
VRM10ObjectLookAtEditor.cs.meta