A collection of small, handy components for unity. All CC0
gwen 35c9ce06ba added vec3 to vec2 swizzles. I may add vec 3-to-3 later but unless i find some metaprogramming trickery this won't scale forever lol | há 2 anos atrás | |
---|---|---|
C04U | há 2 anos atrás | |
.gitignore | há 2 anos atrás | |
C04U.meta | há 2 anos atrás | |
LICENSE | há 3 anos atrás | |
LICENSE.meta | há 2 anos atrás | |
README.md | há 3 anos atrás | |
README.md.meta | há 2 anos atrás | |
c0mp0nent-logo.pixil | há 3 anos atrás | |
c0mp0nent-logo.pixil.meta | há 2 anos atrás | |
c0mp0nent-logo.png | há 3 anos atrás | |
c0mp0nent-logo.png.meta | há 2 anos atrás | |
package.json | há 2 anos atrás | |
package.json.meta | há 2 anos atrás |
A collection of small, handy components for unity. License as CC0 so you (or more realistically just me) can use them basically anywhere and anyway you see fit.
The library is highly modular. Almost all scripts can simply be removed if they are not needed or wanted. Namespaces can always be deleted wholesale, that is C04U.UGUI will not break if C04U.Events is removed and so on.
The library will have as few dependencies as possible, and scripts that rely on a dependency will be easily excised. Dependencies will not be bundled with the library, it is on the user to install them correctly.
The only dependency right now is on JSON .NET for Unity if you are in pre-2020LTS. After 2020 Unity packages in the Newtonsoft JSON DLL by default, removing this requirement. This dependency can be removed by deleting C04U/SaveData
A few short scripts that just expose public UnityEvents so you can tie simple actions to an object without haveing to actually write a script. A good rule of thumb is if you need to do a thing in a monobehaviour event BUT you dont need an if statement or anything, then these components are for you.
Examples for things you may not know about or will forget easily
Currently only the InputTweak class which lets you design exclusively for touch interaction and have mouse interaction map through that.
This is a partial class that allows to create complex save states without an enormous hassle. This part relies on JSONForUnity. Either install that from the asset store or delete this portion
Tweening tools for use inside of coroutines (the only place you should ever be tweening anyway)
Handy parts for working with UGUI items