C# Class RandomVectorUtil, unity-game-kappakiwi

Datei anzeigen Open project: clee842/unity-game-kappakiwi

Public Methods

Method Description
getRandomV2 ( ) : Vector2
getRandomV2 ( float x, float y ) : Vector2
getRandomV3 ( float x, float y ) : Vector3
getRandomV3 ( float x, float y, float z ) : Vector3
rangeInt ( int min, int max ) : int

Method Details

getRandomV2() public static method

public static getRandomV2 ( ) : Vector2
return Vector2

getRandomV2() public static method

public static getRandomV2 ( float x, float y ) : Vector2
x float
y float
return Vector2

getRandomV3() public static method

public static getRandomV3 ( float x, float y ) : Vector3
x float
y float
return Vector3

getRandomV3() public static method

public static getRandomV3 ( float x, float y, float z ) : Vector3
x float
y float
z float
return Vector3

rangeInt() public static method

public static rangeInt ( int min, int max ) : int
min int
max int
return int