InspectorFoldoutGroup
InspectorFoldoutGroup copied to clipboard
Doesn't work in Unity 2019.4.18f1 LTS
The foldout doesn't even show in inspector. No error found in code or Unity itself. Yet, the attribute works fine in 2020.2.1f1 and others 2020 versions. If any one find a fix to it, please feel free to share.
same for me, it worked for 5 minutes and then the next compilation the foldout disappeared
EDIT : try [Pixeye.Unity.Foldout("name", true)]
It works for me on 2019.4 LTS (now 2019.4.21f1).
I had to disable an Editor related asset (Persitent Components) then it loaded. CustomInspector.cs in Persitent Components calls base.OnInspectorGUI()
and DrawDefaultInspector()
removing just that file allows them both to work together.
It would be great to see it play nice with others if possible?
Note I also had to remove using Homebrew;
from EditorOverride.cs. I also removed the Pixeye.Unity
namespace in both files (personal preference but the attributes now match the docs).