A collection of useful utilities for Unity Projects by the Reality Collective. Useful for any Unity Project to accelerate and code safely within Unity.
- Async - A collection of Asynchronous and CoRoutine helpers for working with Sync -> Async code.
- AnimationCurveExtensions
- ArrayExtensions
- AssemblyExtensions
- BoundsExtensions
- CameraExtensions
- CollectionsExtensions
- ColliderExtensions
- CollisionExtensions
- Color32Extensions
- ComparerExtensions
- ComponentExtensions
- ConverterExtensions
- DoubleExtensions
- EnumExtensions
- EnumerableExtensions
- FloatExtensions
- GameObjectExtensions
- LayerExtensions
- MathfExtensions
- MatrixExtensions
- ProcessExtensions
- QuaternionExtensions
- RayExtensions
- SpriteExtensions
- StringExtensions
- SystemNumericsExtensions
- TextureExtensions
- TransformExtensions
- UnityObjectExtensions
- VectorExtensions
- EnumFlagsAttribute
- Il2CppSetOptionAttribute
- ImplementsAttribute
- PhysicsLayerAttribute
- PrefabAttribute
- Vector3RangeAttribute
The Utilities package includes a well-formed logging solution that is single instanced and can optionally connect to Unity log events, useful for tracking both application and Unity logs and dramatically reduces the default Unity logging. Also includes options to set whether debug logs should be output.
- StaticLogger - A single instance logging solution for capturing, saving and exposing logged events from both Unity and the Application.
- CaptureApplicationLog - A static router to push Unity events direct from a Unity scene.
- FilterLogType - A filtering definition to limit what logs are captured / exposed
The simplest way to getting started using the utilities package in your project is via OpenUPM. Visit OpenUPM to learn more about it. Once you have the OpenUPM CLI set up use the following command to add the package to your project:
openupm add com.realitycollective.utilities
Please feel free to provide feedback via the Reality Toolkit dev channel here, all feedback. suggestions and fixes are welcome.
- tbc
If there is anything not mentioned in this document or you simply want to know more, raise an RFI (Request for Information) request here.
Or simply join us on Discord and come chat about your questions, we would love to hear from you