Some helpful Unity classes
Hi everyone,
I’m using this post to declare the code-base I’m using and as a way of sharing some helpful utility classes for you to use if you use Unity and script in C#. The classes include the following:
- A simple extension class that enables object pooling
- A way to bulk swap materials on a game object using ‘material sets’
- A nice shuffle extension for lists
- Two different simple finite state machines, one is monobehaviour and coroutine-based, the other is plain C#
- A sound manager
- An extension method to copy a component and all its values to another gameobject
- Some other stuff…
You can get it here
Good luck everyone, enjoy the next 48 hours!