Méthode | Description | |
---|---|---|
create ( string prefabName, List |
||
getDim ( Vector2 min, Vector2 max ) : Vector2 | ||
minMax ( List |
||
moveCenter ( Vector2 min, Vector2 dim, float height ) : Vector3 | ||
scaleObject ( GameObject toScale, Vector2 dim ) : void |
public static create ( string prefabName, List |
||
prefabName | string | |
edges | List |
|
height | float | |
Résultat | void |
public static getDim ( Vector2 min, Vector2 max ) : Vector2 | ||
min | Vector2 | |
max | Vector2 | |
Résultat | Vector2 |
public static minMax ( List |
||
edges | List |
|
Résultat | Vector2[] |
public static moveCenter ( Vector2 min, Vector2 dim, float height ) : Vector3 | ||
min | Vector2 | |
dim | Vector2 | |
height | float | |
Résultat | Vector3 |
public static scaleObject ( GameObject toScale, Vector2 dim ) : void | ||
toScale | GameObject | |
dim | Vector2 | |
Résultat | void |