Property | Type | Description | |
---|---|---|---|
Abs | int | ||
InternalIsUnique | bool | ||
Max | int | ||
Min | int | ||
UniqueId | string |
Method | Description | |
---|---|---|
MathComponent ( ) : System | ||
Random ( ) : int |
Generates a random positive integer
|
|
Random ( int max ) : int |
Generates a random integer between 0 and max
|
|
Random ( int min, int max ) : int |
Generates a random integer in specified range
|
|
UniqueId ( string prefix ) : string |
Generates a unique id, optionally prefixed by a string
|
Method | Description | |
---|---|---|
Abs ( int i ) : int | ||
InternalIsUnique ( string uuid ) : bool | ||
Max ( int x, int y ) : int | ||
Min ( int x, int y ) : int | ||
UniqueId ( ) : string |
public Random ( int max ) : int | ||
max | int | Max of range, exclusive. Must be greater than 0 |
return | int |
public Random ( int min, int max ) : int | ||
min | int | Min possible value |
max | int | Max possible value, exclusive |
return | int |