Skip to content

realitycollective/com.realitycollective.utilities

Repository files navigation

Reality Toolkit - utilities Platform Module

com.realitycollective.utilities

A collection of useful utilities for Unity Projects by the Reality Collective. Useful for any Unity Project to accelerate and code safely within Unity.

openupm Discord Publish development branch on Merge Build and test UPM packages for platforms, all branches except main

What's included?

Utilities

  • Async - A collection of Asynchronous and CoRoutine helpers for working with Sync -> Async code.

Extensions

  • 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

Property Attributes

  • EnumFlagsAttribute
  • Il2CppSetOptionAttribute
  • ImplementsAttribute
  • PhysicsLayerAttribute
  • PrefabAttribute
  • Vector3RangeAttribute

Functional Utilities

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

Requirements

OpenUPM

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

Feedback

Please feel free to provide feedback via the Reality Toolkit dev channel here, all feedback. suggestions and fixes are welcome.

Related Articles

  • tbc

Raise an Information Request

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

About

A collection of useful utilities for Unity Projects by the Reality Collective.

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  
  •  

Languages