From 7496de547ec67e87d85c024eb18b3bc9a9852cfd Mon Sep 17 00:00:00 2001 From: matsutaka Date: Wed, 24 Jun 2026 17:18:05 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20UniGLTF=20-=20Unity=206.5=20=E3=81=A7?= =?UTF-8?q?=E3=81=AE=E3=82=A8=E3=83=A9=E3=83=BC=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - TreeViewをTreeViewに変更 --- .../UniGLTF/Editor/UniHumanoid/MuscleInspectorEditor.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Packages/UniGLTF/Editor/UniHumanoid/MuscleInspectorEditor.cs b/Packages/UniGLTF/Editor/UniHumanoid/MuscleInspectorEditor.cs index 2c698ddee..dddc37da9 100644 --- a/Packages/UniGLTF/Editor/UniHumanoid/MuscleInspectorEditor.cs +++ b/Packages/UniGLTF/Editor/UniHumanoid/MuscleInspectorEditor.cs @@ -4,6 +4,11 @@ using System.Collections.Generic; using UnityEditor; using UnityEditor.IMGUI.Controls; using UnityEngine; +#if UNITY_6000_5_OR_NEWER +using TreeView = UnityEditor.IMGUI.Controls.TreeView; +using TreeViewItem = UnityEditor.IMGUI.Controls.TreeViewItem; +using TreeViewState = UnityEditor.IMGUI.Controls.TreeViewState; +#endif namespace UniHumanoid { @@ -183,7 +188,7 @@ namespace UniHumanoid } // inside class BoneTreeView : TreeView - protected override void RowGUI(UnityEditor.IMGUI.Controls.TreeView.RowGUIArgs args) + protected override void RowGUI(RowGUIArgs args) { for (int i = 0; i < args.GetNumVisibleColumns(); ++i) { @@ -191,7 +196,7 @@ namespace UniHumanoid } } - void CellGUI(Rect cellRect, int index, ref UnityEditor.IMGUI.Controls.TreeView.RowGUIArgs args) + void CellGUI(Rect cellRect, int index, ref RowGUIArgs args) { CenterRectUsingSingleLineHeight(ref cellRect);