unity_random/lib.rs
1//! A reimplementation of Unity's PRNG in Rust, which is based on the Xorshift128 algorithm.
2//!
3//!
4//! Results should be near 1-to-1 with Unity,
5//! with the exception of `color()` which may produce
6//! slightly inaccurate results due to an issue with .NET versions before 5.x.
7//!
8//! Unlike Unity, it does not offer a static class.
9//!
10//! This project is not affiliated with Unity Technologies.
11mod crypto;
12mod random;
13pub use crate::random::{Random, State};