Метод | Описание | |
---|---|---|
CheckIfChanceOccurs ( int percentChance ) : bool | ||
GetRandomNumber ( int minimumValue, int maximumValue ) : int | ||
RandomBetween ( float min, float max ) : float |
public static CheckIfChanceOccurs ( int percentChance ) : bool | ||
percentChance | int | |
Результат | bool |
public static GetRandomNumber ( int minimumValue, int maximumValue ) : int | ||
minimumValue | int | |
maximumValue | int | |
Результат | int |
public static RandomBetween ( float min, float max ) : float | ||
min | float | |
max | float | |
Результат | float |