Giter Site home page Giter Site logo

Order not respected about demilib HOT 7 CLOSED

demigiant avatar demigiant commented on July 30, 2024
Order not respected

from demilib.

Comments (7)

Demigiant avatar Demigiant commented on July 30, 2024 1

That is weird :O Checking it out!

from demilib.

Demigiant avatar Demigiant commented on July 30, 2024 1

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.

Demigiant avatar Demigiant commented on July 30, 2024

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.

RDeluxe avatar RDeluxe commented on July 30, 2024

Hm, using 2017.2 with .NET 4.6

from demilib.

Demigiant avatar Demigiant commented on July 30, 2024

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.

RDeluxe avatar RDeluxe commented on July 30, 2024

Thanks, it's working great with the order parameter !

Let's hope it's 2017.2 !

from demilib.

Demigiant avatar Demigiant commented on July 30, 2024

Crossing my fingers!

from demilib.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.