// MIT License - Copyright (c) 2024 wallstop // Full license text: https://github.com/wallstop/unity-helpers/blob/main/LICENSE namespace WallstopStudios.UnityHelpers.Core.Random { /// /// Convenience access to the default high-performance PRNG used by this package. /// /// /// /// Returns a thread-local instance of the current default generator (presently ). /// Using this entry point is recommended for most gameplay scenarios to get strong performance and quality /// without committing to a specific algorithm at call sites. If you need specific algorithm guarantees, /// construct that PRNG type directly instead. /// /// /// Threading: The returned instance is thread-local, avoiding shared state and contention across threads. /// /// public static class PRNG { public static IRandom Instance => IllusionFlow.Instance; } }