Skip to content

Commit ba14ca7

Browse files
authored
Merge pull request #8 from coryleach/dev
Fixed missing method in IRandomNumberGenerator
2 parents 6b3cde7 + 2c37c89 commit ba14ca7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ Library of utilitities for procedural generation
1717
#### Using UnityPackageManager (for Unity 2019.3 or later)
1818
Open the package manager window (menu: Window > Package Manager)<br/>
1919
Select "Add package from git URL...", fill in the pop-up with the following link:<br/>
20-
https://github.com/coryleach/UnityProcgen.git#0.0.8<br/>
20+
https://github.com/coryleach/UnityProcgen.git#0.0.9<br/>
2121

2222
#### Using UnityPackageManager (for Unity 2019.1 or later)
2323

2424
Find the manifest.json file in the Packages folder of your project and edit it to look like this:
2525
```js
2626
{
2727
"dependencies": {
28-
"com.gameframe.procgen": "https://github.com/coryleach/UnityProcgen.git#0.0.8",
28+
"com.gameframe.procgen": "https://github.com/coryleach/UnityProcgen.git#0.0.9",
2929
...
3030
},
3131
}

Runtime/Utility/IRandomNumberGenerator.cs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public interface IRandomNumberGenerator
1212
ushort NextUshort();
1313
byte NextByte();
1414
int NextInt();
15+
int NextIntRange(int min, int max);
1516
short NextShort();
1617
float NextFloatZeroToOne();
1718
float NextFloatNegOneToOne();

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "com.gameframe.procgen",
44
"displayName": "Gameframe.Procgen",
55
"repositoryName": "UnityProcgen",
6-
"version": "0.0.8",
6+
"version": "0.0.9",
77
"description": "Library of utilitities for procedural generation",
88
"type": "library",
99
"keywords": [],

0 commit comments

Comments
 (0)