Comments (7)
That is weird :O Checking it out!
from demilib.
In theory there is an extra order parameter on all attributes that you can use, to force the draw order:
[DeComment("dum dee dum very useful comment", order = 1)]
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)
from demilib.
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?
from demilib.
Hm, using 2017.2 with .NET 4.6
from demilib.
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?
from demilib.
Thanks, it's working great with the order parameter !
Let's hope it's 2017.2 !
from demilib.
Crossing my fingers!
from demilib.
Related Issues (13)
- Disable [DeMethodButton] depending on property
- Null reference exception when clicking on the DeButton of an unselected object HOT 4
- UIExtensions:SetAlpha error HOT 1
- CustomPropertyDrawer not working (unity 2019.3) HOT 2
- Allow changing of icon corner for DeProject icons
- DeInspektor lists should respect Unity's naming logic for struct/class elements HOT 1
- DeInspektor for ScriptableObject HOT 4
- [Header("MyHeader")] does not work if declared after array. HOT 3
- DeInspektor doesn't enhance nested arrays HOT 3
- DeConditionnal attribute not working on nested fields
- Graph editor with source HOT 1
- UIExtensions simplification HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from demilib.