ktylities is a general-purpose set of scripts that can be used in make your life easier
Implementations of events and variables as outlined in this Unity blog post. Both include additional features, such as in-editor pinging of event listeners and a generic base class for variables, allowing any serializable type to be added with ease.
A generic IPool<T>
interface and a stack-based implementation avoid deallocating objects with short lifetimes.
- Create or open a Unity project.
- Open Window -> Package Manager.
- Click the '+' icon in the top left corner, select 'Add Package from git URL' and input the URL to the ktylities repository: https://github.com/ktyldev/ktylities.git.
- Enjoy!