Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work in Unity 2019.4.18f1 LTS #14

Open
MaykerStudio opened this issue Jan 24, 2021 · 2 comments
Open

Doesn't work in Unity 2019.4.18f1 LTS #14

MaykerStudio opened this issue Jan 24, 2021 · 2 comments

Comments

@MaykerStudio
Copy link

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.

@Athomield
Copy link

Athomield commented Mar 19, 2021

same for me, it worked for 5 minutes and then the next compilation the foldout disappeared

EDIT : try [Pixeye.Unity.Foldout("name", true)]

@haywirephoenix
Copy link

haywirephoenix commented May 13, 2021

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants