Skip to content

Not working in recent Unity #1

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

Open
kjyv opened this issue Jun 5, 2020 · 1 comment
Open

Not working in recent Unity #1

kjyv opened this issue Jun 5, 2020 · 1 comment

Comments

@kjyv
Copy link

kjyv commented Jun 5, 2020

This seems kinda nice but doesn't show any fields or buttons for properties in Unity 2019.3.15.
Only the "External Objects" field is there and "Edit Text" button appears (clicking it doesn't change anything).
I've tried looking at it and it parses the file, recursively goes through it and also calls GUI.Button here and there. Changing a few of those to GUILayout shows buttons but with a wrong layout of course. Did the way GUI.Button etc. work change in the mean time, or rather the way rects have to be calculated?

@dashanddot
Copy link

you should call before draw any property

EditorGUILayout.GetControlRect();

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

2 participants