fix: Animancer TreeViewItem
This commit is contained in:
parent
2c3d87361b
commit
3bbfd7f133
|
|
@ -9,6 +9,12 @@ using UnityEditor;
|
||||||
using UnityEditor.IMGUI.Controls;
|
using UnityEditor.IMGUI.Controls;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
#if UNITY_6000_2_OR_NEWER
|
||||||
|
using TreeViewItem = UnityEditor.IMGUI.Controls.TreeViewItem<int>;
|
||||||
|
using TreeViewState = UnityEditor.IMGUI.Controls.TreeViewState<int>;
|
||||||
|
using TreeView = UnityEditor.IMGUI.Controls.TreeView<int>;
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Animancer.Editor
|
namespace Animancer.Editor
|
||||||
//namespace FlexiMotion.Editor
|
//namespace FlexiMotion.Editor
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,11 @@ using UnityEditor.IMGUI.Controls;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using static Animancer.Editor.AnimancerGUI;
|
using static Animancer.Editor.AnimancerGUI;
|
||||||
|
|
||||||
|
#if UNITY_6000_2_OR_NEWER
|
||||||
|
using TreeViewItem = UnityEditor.IMGUI.Controls.TreeViewItem<int>;
|
||||||
|
using TreeViewState = UnityEditor.IMGUI.Controls.TreeViewState<int>;
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Animancer.Editor
|
namespace Animancer.Editor
|
||||||
{
|
{
|
||||||
/// <summary>[Editor-Only]
|
/// <summary>[Editor-Only]
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,11 @@ using UnityEditor.IMGUI.Controls;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using static Animancer.Editor.AnimancerGUI;
|
using static Animancer.Editor.AnimancerGUI;
|
||||||
|
|
||||||
|
#if UNITY_6000_2_OR_NEWER
|
||||||
|
using TreeViewItem = UnityEditor.IMGUI.Controls.TreeViewItem<int>;
|
||||||
|
using TreeViewState = UnityEditor.IMGUI.Controls.TreeViewState<int>;
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Animancer.Editor
|
namespace Animancer.Editor
|
||||||
{
|
{
|
||||||
/// <summary>An <see cref="TransformTreeWindow{TTarget, TDefinition}"/> for editing spring definitions.</summary>
|
/// <summary>An <see cref="TransformTreeWindow{TTarget, TDefinition}"/> for editing spring definitions.</summary>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue