Scripting Utils | OpenSource Unity Extension

Scripting Utils | OpenSource Unity Extension

A collection of scripts to enhance and speed up unity development. Import scripts swiftly by the downloadable UnityPackage on releases

Link: https://github.com/payam-ranjbar/Unity-Scripting-Utils

Extensions

Collection Extensions

  • append to dictionaries
  • create dictionaries form lists with key predicates
  • etc.

Vector Extensions

  • useful arithmetical and mathematical operations on vectors

Color Extensions

  • common and repetitive operations on unity Color class

Unity Extensions

  • comparing gameObjects and Colliders layer-like tags

Probability Toolkit

  • Extensions
    • Choose Random Object(s) from a collection
    • Get a Random number in a vector2 boundaries
    • Get a biased random number in a range (exponential)
    • Flip a coin
    • etc.
  • Weighted Randoms
    • Get a random object with chance weights

payamranjbar97@gmail.com Avatar

Leave a Reply

Your email address will not be published. Required fields are marked *