From 2c37c894ffbce0c7664851075ad5be7b62589b0d Mon Sep 17 00:00:00 2001 From: Cory Leach Date: Tue, 7 Mar 2023 16:49:34 -0600 Subject: [PATCH] Fixed missing method in IRandomNumberGenerator --- README.md | 4 ++-- Runtime/Utility/IRandomNumberGenerator.cs | 1 + package.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 317b4fe..ecfd15f 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Library of utilitities for procedural generation #### Using UnityPackageManager (for Unity 2019.3 or later) Open the package manager window (menu: Window > Package Manager)
Select "Add package from git URL...", fill in the pop-up with the following link:
-https://github.com/coryleach/UnityProcgen.git#0.0.8
+https://github.com/coryleach/UnityProcgen.git#0.0.9
#### Using UnityPackageManager (for Unity 2019.1 or later) @@ -25,7 +25,7 @@ Find the manifest.json file in the Packages folder of your project and edit it t ```js { "dependencies": { - "com.gameframe.procgen": "https://github.com/coryleach/UnityProcgen.git#0.0.8", + "com.gameframe.procgen": "https://github.com/coryleach/UnityProcgen.git#0.0.9", ... }, } diff --git a/Runtime/Utility/IRandomNumberGenerator.cs b/Runtime/Utility/IRandomNumberGenerator.cs index 79faade..dfac98b 100644 --- a/Runtime/Utility/IRandomNumberGenerator.cs +++ b/Runtime/Utility/IRandomNumberGenerator.cs @@ -12,6 +12,7 @@ public interface IRandomNumberGenerator ushort NextUshort(); byte NextByte(); int NextInt(); + int NextIntRange(int min, int max); short NextShort(); float NextFloatZeroToOne(); float NextFloatNegOneToOne(); diff --git a/package.json b/package.json index b7c7810..488434b 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "com.gameframe.procgen", "displayName": "Gameframe.Procgen", "repositoryName": "UnityProcgen", - "version": "0.0.8", + "version": "0.0.9", "description": "Library of utilitities for procedural generation", "type": "library", "keywords": [],