Property | Type | Description | |
---|---|---|---|
amount | int | ||
building | GameObject | ||
buildingMax | Vector3 | ||
buildingMin | Vector3 | ||
buildingYOffset | float | ||
buildingZOffset | float | ||
endPos | float | ||
leftRight | bool | ||
speed | float | ||
startPos | float | ||
window | GameObject[] | ||
windowBorderMax | Vector2 | ||
windowBorderMin | Vector2 | ||
windowSizeMax | Vector2 | ||
windowSizeMin | Vector2 |
Method | Description | |
---|---|---|
Start ( ) : void | ||
Update ( ) : void | ||
flipNormals ( GameObject obj ) : void | ||
moveVerts ( GameObject obj, Vector3 offset ) : void | ||
scaleUVs ( GameObject obj ) : void | ||
scaleVerts ( GameObject obj, Vector3 scale ) : void | ||
setUVs ( GameObject obj ) : void | ||
setUVs ( GameObject obj, Vector2 pos ) : void |
Method | Description | |
---|---|---|
findClosest ( ) : int | ||
findFarthest ( ) : int | ||
makeBuilding ( Vector3 offset ) : Vector3 |
public moveVerts ( GameObject obj, Vector3 offset ) : void | ||
obj | GameObject | |
offset | Vector3 | |
return | void |
public scaleVerts ( GameObject obj, Vector3 scale ) : void | ||
obj | GameObject | |
scale | Vector3 | |
return | void |
public setUVs ( GameObject obj, Vector2 pos ) : void | ||
obj | GameObject | |
pos | Vector2 | |
return | void |