Skip to content

Useful utility classes and methods used by Studio Root Games.

Notifications You must be signed in to change notification settings

jordanstudioroot/RootUtils-UnityCSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RootUtils

A library of functions used by Studio Root Games in various projects. Includes various functions that could not otherwise be implemented as extensions on existing Unity classes. Can be directly copied into a project, turned into a Unity Package Manager Package, or imported into the project directly using npm install jordanstudioroot/RootExtensions-UnityCSharp. Library will be copied to Assets/pkg-all/rootextensions-unitycsharp.

Installation

Either clone the repo to the Assets directory, or initialize an existing unity project with npm and install using npm install jordanstudioroot/RootUtils-UnityCSharp.

Usage

All functions are static, and can be called directly from their corresponding class. Ex. Bezier.GetQuadradicPoint(Vector3 a, Vector3 b, Vector3 c, float t).

Overview

  • Bezier: Methods for calculating Bezier curves.
  • DebugUtils: Methods for debugging.
  • Detect: Methods for implementing detection algoritms.
  • Distance: Methods for calculating distance.
  • EventSystemUtils: Methods for interacting with Unity's Event System.
  • ScreenPoint: Methods for relating a 2D screen point to screen space and world space.
  • UnityBuiltin: Methods for retrieving built in Unity assets.

Recommendations

TODO

  • Add namespaces.
  • Tests

About

Useful utility classes and methods used by Studio Root Games.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published