A series of small Unity utilities, extensions, and more to assist with development.
- Inside unity, head to
Window > Package Manager
- Select the
+
dropdown button in the upper left of the window and selectAdd package from git URL
- Enter the git URL for this repo
- Create a new unity project with the version specified in package.json (2020.3 lts)
- Clone this repo into the packages folder at the manifest.json level. The entire contents of this repo should be within a new folder.
- Open/Reload the unity project. Under the Projects tab and packages subfolder, you should see 'Loam Utilities'.
- 'Copy Meta GUID to Clipboard' - When selecting an asset in the project view, the meta GUID can be copied to the clopboard via a right-click menu. This helps with things like manual reference checking.
- WHRandom - A predictable and portable random class that can be seeded with a different pseudorandom technique than system random or unity random. Can be used to help ensure cross-platform seeded values are consistent.
- CoroutineObject - A lazily instantiating game object to allow static and non-unity code to kick off coroutines.
- GameObject - Extra hierarchy management
- CharacterController - Warping (setting the transform) that correctly accounts for transform sync.
- EditorClearConsole(...) - Function that will clear the developer console if in-editor.
- A singleton messaging system that comes with inspector integration and dispatching/tracking tools. Allows easily testing messages by dispatching them at runtime along with usage information. Intended to be used for intermittent gameplay events, not aggressive per-update events.