메소드 | 설명 | |
---|---|---|
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 |