Git Product home page Git Product logo

Comments (5)

michaelsakharov avatar michaelsakharov commented on May 28, 2024 1

Yeah, So the first thing needs to be moving the GameObject.DrawGizmos() function into the Editors ViewportWindow class, It gets called there so moving it over shouldn't be too hard.

Then move the ImGUI folder from the Runtime to the Editor and update the namespaces
Prowl.Runtime.ImGUI -> Prowl.Editor.ImGUI

I just removed a reference to ImGUI in the runtime just now, So all thats left is GameObject/SceneManager and the ImGUI folder.

from prowl.

michaelsakharov avatar michaelsakharov commented on May 28, 2024

I think the root of this issue is the GameObject gizmos stuff is handled In the GameObject class itself, that is the only reason that code needs to be in the runtime.
Ideally, I think we remove ImGUI completely from the Runtime and make it Editor Only, then we make our own UI system for the runtime/games.

I've already started work on a custom UI solution for the runtime.

from prowl.

recore67 avatar recore67 commented on May 28, 2024

oh ok cool, i agree with that solution. If i may ask, can you brief me through the idea of it?

from prowl.

michaelsakharov avatar michaelsakharov commented on May 28, 2024

Ah theres also the ImGUI Attributes like [Header("")] and whatnot for components, will need to redesign that to handle its logic in the editor, and just have the attributes in the runtime.

from prowl.

michaelsakharov avatar michaelsakharov commented on May 28, 2024

Moved ImGUI to the Editor, solving the original problem posed by this issue so gonna close it, ill create a new issue later on for a Runtime UI solution once i decide what exactly i wanna do regarding that.

from prowl.

Related Issues (20)

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.