
Some utilities that might make your lives easierI 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 -- GithubThis 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.Methods to check for value equality, nullity and game object activity.Methods that allow people to write shorter, more readable and less repetitive code.Vector utility for setting values for only one axis, offsetting vectors and spreading vectors across a straight line or around a circle.Transform utility that makes setting positions and scales easier, allows position offsetting, following other transforms, spreading across a straight line or around a circle.Chainable methods for lerping positions, scales, angles, colours and image fill amounts, as well as rotating objects by speed and shaking objects.Input buffering utility that buffers inputs for a set period of time.Coroutine utility that allows people to run, track and stop coroutines using a string ID, as well as delaying execution of a non-coroutine function. People don't need to have their classes inherited from MonoBehaviour to run coroutines.Extension coroutine methods that automatically terminate a coroutine when a game object(s) are disabled, delay a coroutine for a set period of time, and delay a coroutine until specific conditions are met.Custom switch class that allows checking between non-constant variables without if-else hell.