Random Numbers
Seeded random number generator for Unity 2022 LTS or higher.
com.audune.utils.random 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/random.git README Markdown
Copy this to your project's README.md
## Installation
Add **Random Numbers** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/random.git
```
[](https://www.pkglnk.dev/pkg/random)README
Audune Random Numbers
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.
No comments yet. Be the first!