File tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed
Assets/LDtkUnity/Editor/Utility/Tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 33using UnityEditor . IMGUI . Controls ;
44using UnityEngine ;
55
6+ #if UNITY_6000_2_OR_NEWER
7+ using TreeView = UnityEditor . IMGUI . Controls . TreeView < int > ;
8+ using TreeViewItem = UnityEditor . IMGUI . Controls . TreeViewItem < int > ;
9+ using TreeViewState = UnityEditor . IMGUI . Controls . TreeViewState < int > ;
10+ #endif
11+
612namespace LDtkUnity . Editor
713{
814 internal abstract class LDtkTreeView : TreeView
Original file line number Diff line number Diff line change 11using UnityEditor . IMGUI . Controls ;
22
3+ #if UNITY_6000_2_OR_NEWER
4+ using TreeView = UnityEditor . IMGUI . Controls . TreeView < int > ;
5+ using TreeViewItem = UnityEditor . IMGUI . Controls . TreeViewItem < int > ;
6+ using TreeViewState = UnityEditor . IMGUI . Controls . TreeViewState < int > ;
7+ #endif
8+
39namespace LDtkUnity . Editor
410{
511 internal sealed class LDtkTreeViewLevel : LDtkTreeView
Original file line number Diff line number Diff line change 11using UnityEditor . IMGUI . Controls ;
22
3+ #if UNITY_6000_2_OR_NEWER
4+ using TreeView = UnityEditor . IMGUI . Controls . TreeView < int > ;
5+ using TreeViewItem = UnityEditor . IMGUI . Controls . TreeViewItem < int > ;
6+ using TreeViewState = UnityEditor . IMGUI . Controls . TreeViewState < int > ;
7+ #endif
8+
39namespace LDtkUnity . Editor
410{
511 internal sealed class LDtkTreeViewProject : LDtkTreeView
Original file line number Diff line number Diff line change 33using UnityEditor . IMGUI . Controls ;
44using UnityEngine ;
55
6+ #if UNITY_6000_2_OR_NEWER
7+ using TreeView = UnityEditor . IMGUI . Controls . TreeView < int > ;
8+ using TreeViewItem = UnityEditor . IMGUI . Controls . TreeViewItem < int > ;
9+ using TreeViewState = UnityEditor . IMGUI . Controls . TreeViewState < int > ;
10+ #endif
11+
612namespace LDtkUnity . Editor
713{
814 internal sealed class LDtkTreeViewWrapper : IDisposable
You can’t perform that action at this time.
0 commit comments