Skip to content

jordanstudioroot/RootExtensions-UnityCSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RootExtensions

A library of C# extension methods for Unity classes used by Studio Root Games. Can be directly copied into a project, turned into a Unity Package Manager package, or imported into the project as an NPM package using npm install jordanstudioroot/UnityNPMInit, in which case it will be copied to Assets/RootExtensions.

Installation

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

Usage

All functions are extension on unity classes, and can be called as a function on the specific class. Ex. Transform.StandOn().

List of Extended Classes

  • Button
  • Color
  • Component
  • GameObject
  • PointerEventData
  • RectTransform
  • Text
  • Transform

Reccomendations

TODO

  • Add namespaces
  • Tests
  • Class library Git wiki.

Criticisms, Suggestions, Pull Requests

Email: [email protected]

About

Useful extensions used by StudioRootGames.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published