Bits & Bobs of Utilities
Some utilities that might make your lives easier
by The Black Cat
Price History +
I was writing utilities for myself when I was making my game, and then one day I thought, "Why not make it a tool so people can also benefit from it?" So here we are.
My goal is to make utilities that are easy to read and use, and let you write as few characters as possible. Many of the utility methods are not changing the world, but definitely makes your code shorter and more readable.
Documentation -- Contact -- Github
This tool includes the following features:
- Bits of utility methods that check for equality, nullity and game object activity.
- Bits of utility methods that let you write shorter and less repetitive code.
- Vector and Transform manipulation such as setting a single value, offsetting and spreading.
- Position, scale, rotation, colour, image fill amount lerping, as well as rotating by speed and object shaking, all in which can be carried out using a fluent and clean chainable method API.
- Input buffering which is simple to use.
- A container that can store multiple tags in a game object.
- Coroutine utility methods that allow you to run, track and stop coroutines, as well as running coroutines without your classes inherited from MonoBehaviour.
- A little custom switch statement that supports non-constant values like class objects.
*Designed for 2D workspace only.
*3D workspace might benefit from it but not all are guaranteed to work.