You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Inspector element order is unpredictable with PropertyGroups #80
Expanded test case below. Turning methods into buttons does not always place them last in the inspector.
I did some quick experiments, and inverting the order in OrderByAttributeThenByMemberType() does make the buttons show up first even when group attributes are involved.
usingUnityEngine;usingAlchemy.Inspector;publicclassOops:MonoBehaviour{[SerializeField]string[]goodStrings={"foo","bar"};[SerializeField,TabGroup("Bad Zone")]string[]badStrings={"boo","far"};[SerializeField,TabGroup("Another Tab"),ListViewSettings(ShowFoldoutHeader=false)]string[]fineStrings={"fixed by removing the foldout with ListViewSettings","goo","tar"};[SerializeField,FoldoutGroup("Foldouts are okay")]string[]goodStrings2={"foo","bar"};[SerializeField]stringtest;[Button]voidreticulateSplines(){Debug.Log("Reticulating splines...");}[Button(useParameters:false)]voidPerformAction(stringparamToIgnore,intnumber=100){Debug.Log($"Count: {number}");}[Button]voidMoreMethod(intnumberOfFoos=50){Debug.Log($"FooAmount: {numberOfFoos}");}}
Activity
nnra6864 commentedon Apr 26, 2025
I think this is related to the issue I just created, #112
I am really enjoying this asset but this is quite a major letdown tbh.