Giter VIP home page Giter VIP logo

kulip's Introduction

Kulip

Kulip is a general purpose Unity library meant to speed up development by providing common features.

Features

"Static" Scriptable Objects StaticSO<T>

What I term a "static" ScriptableObject is a ScriptableObject whose goal is to be a global variable.

This is useful to allow serializing a reference to a value, not a component, to prevent coupling. It is also somewhat of a replacement for static variables or singletons, however, it does not actually have static lifetime. In addition, StaticSO allows for reactive programming using a System.Action<T> ValueChangedEvent. Comes with a few built-in types (StaticFloatSO, StaticIntSO, StaticObjectSO, StaticUnityObjectSO) and can be derived to add more. Note: the generic base class, as far as I can tell, cannot be instanced as a ScriptableObject, but could probably be used for a SerializedField.

Unity_zMnMmGSZ4I

Customizable Time ScriptableObjects

Time that is stored and manipulated isolated within a static ScriptableObject. This allows you to not mess with, for example, Physics.timeScale if you want to scale your time or pause your game. In addition, it allows multiple Time instances at once. For an added bonus, it does not require an Update loop, since all calculations are done with respect to the global Time.time. This might not work well with the physics engine.

Unity_Ka2vkIN0Lu

Easing Functions

Easing functions ported from https://easings.net/ (GitHub). See the sample in /Samples/Easing for a demo!

Unity_XYF1AmSIKf

Getting Started

Installation instructions can be found on the wiki.

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.