mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-15 15:57:52 +08:00
Fix BeginVertical and BeginHorizontal
This commit is contained in:
@ -36,6 +36,9 @@ namespace Explorer
|
||||
|
||||
public static bool IsEnumerable(Type t)
|
||||
{
|
||||
// Not needed for Il2Cpp at the moment. Don't want these to behave as Enumerables.
|
||||
//if (typeof(Transform).IsAssignableFrom(t)) return false;
|
||||
|
||||
return typeof(IEnumerable).IsAssignableFrom(t);
|
||||
}
|
||||
|
||||
|
@ -68,7 +68,7 @@ namespace Explorer
|
||||
|
||||
// ------ toggle active button ------
|
||||
|
||||
GUILayout.BeginHorizontal(null);
|
||||
GUIUnstrip.BeginHorizontal();
|
||||
GUI.skin.button.alignment = TextAnchor.UpperLeft;
|
||||
|
||||
GUI.color = activeColor;
|
||||
@ -103,7 +103,7 @@ namespace Explorer
|
||||
SmallInspectButton(_obj);
|
||||
}
|
||||
|
||||
GUILayout.EndHorizontal();
|
||||
GUIUnstrip.EndHorizontal();
|
||||
}
|
||||
|
||||
public static void SmallInspectButton(object obj)
|
||||
|
Reference in New Issue
Block a user