Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.76 KB

File metadata and controls

55 lines (36 loc) · 1.76 KB

Audune Random Numbers

openupm

A seeded random number generator for Unity that uses Unity's own random methods under the hood.

Features

  • Random number generator class to use for seeded random number generation.
  • Choosing and sampling random items from enumerables.
  • Choosing weighted items from enumerables.
  • Shuffling enumerables.

Installation

Requirements

To install this package as a package from the OpenUPM registry in the Unity Editor, use the following steps:

  • In the Unity editor, navigate to Edit › Project Settings... › Package Manager.
  • Add the following Scoped Registry, or edit the existing OpenUPM entry to include the new Scope:
Name:     package.openupm.com
URL:      https://package.openupm.com
Scope(s): com.audune.utils.random
  • Navigate to Window › Package Manager.
  • Click the + icon and click Add package by name...
  • Enter the following name in the corresponding field and click Add:
com.audune.utils.random

Installing as a Git package

To install this package as a Git package in the Unity Editor, use the following steps:

  • In the Unity editor, navigate to Window › Package Manager.
  • Click the + icon and click Add package from git URL...
  • Enter the following URL in the URL field and click Add:
https://github.com/audunegames/random-numbers.git

Contributing

Contributions to this package are more than welcome! Contributing can be done by making a pull request with your updated code.

License

This package is licensed under the GNU LGPL 3.0 license. See LICENSE.txt for more information.