mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-06 17:54:14 -05:00
fix: UniGLTF - Unity 6.5 でのエラーを修正
- TreeViewをTreeView<T>に変更
This commit is contained in:
parent
4d2c769f0b
commit
7496de547e
|
|
@ -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<int>;
|
||||
using TreeViewItem = UnityEditor.IMGUI.Controls.TreeViewItem<int>;
|
||||
using TreeViewState = UnityEditor.IMGUI.Controls.TreeViewState<int>;
|
||||
#endif
|
||||
|
||||
namespace UniHumanoid
|
||||
{
|
||||
|
|
@ -183,7 +188,7 @@ namespace UniHumanoid
|
|||
}
|
||||
|
||||
// inside class BoneTreeView : TreeView<int>
|
||||
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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user