Giter Club home page Giter Club logo

jankyui's Introduction

JankyUI

Unity Immediate Mode GUI Wrapper


JankyUI is a Unity Immediate Mode GUI Wrapper for quickly writing User Interfaces from code.

Why?

  • Unity's new UI System is great, but creating Test UIs from Code with it is not.
  • Unity's Immediate Mode GUI is great for Code-Side UI, but writing the code to use it is not.

JankyUI Provides a Way of Writing Immediate Mode GUI without touching any of the GUI/GUILayout Functions.

Without worrying about UI Callbacks/Code,

Create This:

window

From This:

<?xml version="1.0" encoding="utf-8" ?>
<JankyUI xmlns='janky://Schema/v1'>
  <Window width='400' height='300' title='Window Title' on-mouse-over='@MouseState'>
    <Group type='vertical'>
      <Group type='horizontal'>
        <Group type='vertical' stretch='none'>
          <Label text='A Label' />
          <Label text='Another Label' />
        </Group>
        <Group type='vertical' stretch='horizontal'>
          <Textbox text='@BoundTextbox' stretch='horizontal' />
          <Textbox text='@AnotherBoundTextbox' stretch='horizontal' />
        </Group>
      </Group>
      <Label text='A Big Text Area:' stretch='horizontal' />
      <Textbox type='multiline' stretch='both' text='@BigBoundText' />
      <Group type='horizontal' stretch='horizontal' >
        <Space />
        <Button name='Button1' text='A Button' on-click='@Click' />
        <Button name='Button2' text='Another Button' on-click='@Click' />
      </Group>
    </Group>
  </Window>
</JankyUI>

Check the Wiki for Documentation and samples

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.