Code Monkey home page Code Monkey logo

unityframework's Introduction

UnityFramework

Framework for Unity that includes

  • Lots of useful utility classes.
  • Simple but powerful Event based Statemachine system with editor.
  • Localisation system
  • Fast and powerful NodeGraph system with editor.

Features

Statemachine Editor

Alt text Alt text

The statemachine editor allows you to create statemachines that can be used to drive logic in your project or be used for things like branching dialgoue. Statemachines are serialised to text assets (as xml) and they support cross scene references for gameobjects/components so can control your games flow whilst it loads / unloads different scenes.

Different types of states are supported:

  • Timeline states which can trigger events (and its easy to write/add your own)
  • Coroutine states that simply run and wait for a coroutine on a monobehaviour
  • Conditional states which will make the statemachine remain in the state until a condition is met. These can be used to branch logic or wait for an player action (its also easy to write/add your own conditions for branching logic)

NodeGraph Editor

Alt text

The node graph editor allows you to create node graphs that can be used to drive animations, blend values on materials, change light colors etc and are easily extendible to add your own nodes. Node graphs are likewise serialised to text assets (as xml) so can be reused throughout your project.

The component that runs the nodegraph can pass it unique data values via 'input nodes'. This means for example the same node graph that idly oscillates an object (eg a floating rock) can be reused on different objects each with different values for oscillation height and speed - you dont have to change the node graphs, instead simply use different input values on the component.

Node graphs can also have output nodes which allow them to be chained - one Node Graphs output can be hooked up to the input of another. This allows controlling a load of nodegraphs from one single one, eg controlling a scenes lighting and post effects based on a parent nodegraph that outputs the suns position in the sky.

Localisation Editor

Alt text

The Localisation system allows you to use localised strings as properties, or on Text or TextMesh components, or directly and edit them using a simple fast editor. It supports variable replacement either per string or globally (any global variables will automatically get replaced in all strings).

unityframework's People

Contributors

traggett avatar joebain avatar ylevtov avatar

Watchers

James Cloos 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.