Namespace GlitchedPolygons.Utilities
Classes
Colors
Data holder class that holds useful readonly UnityEngine.Color constants.
Cursor
Static class that can hide/unhide the mouse cursor. A disengaged cursor should also be locked...
GUIDGenerator
Editor utility for generating a fresh System.Guid and copying its string content to the system clipboard.
GZip
This class provides functionality for compressing and decompressing strings and raw byte[] arrays using the System.IO.Compression.GZipStream.
SaveCombinedMesh
This class is useful if you want to save your combined meshes to disk for prefabbing or for later usage in other scenes without breaking the reference.
When you combine painted meshes, the MeshFilter's mesh is stored inside the current scene's root (which means it cannot be accessed, making it thus impossible to store the mesh in a prefab).
If you intend to use the combined mesh later on (e.g. via a prefab), you have to store the mesh data to disk first. You can do so through this script's inspector.
When you combine a mesh, this script is added automatically to the combined mesh GameObject. Once you saved the mesh asset to disk, the script is no longer needed and deletes itself. It's not needed at runtime either, so it will destroy itself on Start too...
ScreenshotManager
Screenshot manager class.
Take some awesome screenies with this!
SelectStaticGameObjects
Extension method class for quickly selecting all
SfxUtility
Static class useful for playing sound clips easily.
SymmetricCryptography
Cryptoclass useful for easily encrypting/decrypting stuff.
YieldInstructions
Utility class that keeps cached instances of various YieldInstructions (no need to create new ones in each coroutine).