-
Notifications
You must be signed in to change notification settings - Fork 68
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
Order not respected #8
Comments
That is weird :O Checking it out! |
Uh, it gets weirder. Everything works perfectly here, and order is respected (though I'm testing on Unity 5.6.3). Also, I checked the code and the order is decided by Unity, which should just call GetHeight and OnGUI of those drawers in the order they're drawn, so it seems Unity is messing something up there. On what version are you? |
Hm, using 2017.2 with .NET 4.6 |
In theory there is an extra order parameter on all attributes that you can use, to force the draw order: I'm assuming that in pre-2017 versions Unity ordered stuff correctly even if you left it to the default 0, while in 2017 order is now broken and you should set it manually :( Can you try and let me know (I don't want to make a 2017 copy of the DemiLib project just for this, if I can avoid it :P) |
P.S. even so, I hope this is just a 2017.2 issue (since 2017.2 brought a lot of bugs) and it will be fixed in the next one? |
Thanks, it's working great with the order parameter ! Let's hope it's 2017.2 ! |
Crossing my fingers! |
Hey there
I have been having some troubles with DeComment not respecting the order.
Here is the code :
If I revert them everything is fine:
Note: using only DeComment and DeHeader, order is screwed too. Same thing with DeComment + DeDivider
The text was updated successfully, but these errors were encountered: