Giter VIP home page Giter VIP logo

unity-jbconsole's Introduction

UnityConsole

DEPRECATED

THIS PROJECT IS NOW DEPRECATED AND NO LONGER MAINTAINED.

PLEASE USE THE ACTIVE PROJECT INSTEAD:

https://github.com/spaceapegames/shared-unity-jbconsole

Junkbyte Console for Unity.

This project is a 'port' of Junkbyte Console from Flash/actionscript to Unity. http://code.google.com/p/flash-console/

Unity UI Extension

When you first open the Junkbyte editor window it will ask you if you want to create a font reference. This will then create a JBConsoleConfig file in the Resources folder. This config will also reference the UI prefab for the JBConsole.

In your project after you have started the JBConsole you can then instantiate and register it to the JBConsole as an external UI.

jbConsoleUIGO = Instantiate(JBConsoleConfig.GetExternalUIPrefab());
var jbConsoleExternalUI = jbConsoleUIGO.GetComponent<JBConsoleExternalUI>();
JBConsole.instance.AddExternalUI(jbConsoleExternalUI);

Toggles

You can now add toggles to the menus with the code

JBConsole.AddToggle("ToggleName", delegate
{
    // setter eg, toggle = !toggle;
}, delegate
{
    // getter eg, return toggle;
});

Unity Projects

unity-build-unity-project

This is where the DLLs get copied to after the build and in this project the UI prefab is constructed against the DLL.

unity-script-ui-testing

This is a rather hacky project that contains a copy of the JBConsole source and a version of the UI prefab that is linked to these scripts. This is the place to go to try to debug an issue with the UI!

unity-test-unity-project

This is a more traditional test project that contains the JBConsole package retrieved via nuget and uses it with some simple test buttons etc.

unity-jbconsole's People

Contributors

luaye avatar benchristey avatar sorran avatar mjshorty avatar wivlaro avatar chrisspaceape avatar rickywillis avatar spaceapegamessy avatar

Watchers

Tom Martin avatar  avatar Daniel Bell avatar Nelson Correia avatar  avatar Yan Cui avatar  avatar James Cloos avatar Roeland Molenaar avatar  avatar  avatar  avatar  avatar  avatar Nathan Mclean avatar Nick Henderson avatar  avatar  avatar  avatar  avatar Ben Crane avatar  avatar  avatar  avatar  avatar Davide avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Nic Walker avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Samantha avatar Steven H avatar Tobi Lipede avatar Alan Kemp avatar Dennis Waldron avatar  avatar  avatar Martyn Jones avatar  avatar Wouter avatar  avatar  avatar  avatar  avatar

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.