C# Class RenderTiles, nightmare_cooperative

Inheritance: MonoBehaviour
Show file Open project: jonbro/nightmare_cooperative Class Usage Examples

Public Properties

Property Type Description
gridSize Vector2
hiColor Color
lowColor Color
perlinScale float
spriteRow int
tileSize float
worldSize Vector2

Public Methods

Method Description
AddVertexOffset ( int x, int y, Vector3 offset ) : void
AssignColor ( int x, int y, Color c ) : void
AssignSprite ( int mX, int mY, int sX, int sY, int rotate ) : void
CreateMesh ( ) : void
GetColor ( int x, int y ) : Color
LateUpdate ( ) : void
Start ( ) : void
Update ( ) : void
clearAll ( ) : void

Method Details

AddVertexOffset() public method

public AddVertexOffset ( int x, int y, Vector3 offset ) : void
x int
y int
offset Vector3
return void

AssignColor() public method

public AssignColor ( int x, int y, Color c ) : void
x int
y int
c Color
return void

AssignSprite() public method

public AssignSprite ( int mX, int mY, int sX, int sY, int rotate ) : void
mX int
mY int
sX int
sY int
rotate int
return void

CreateMesh() public method

public CreateMesh ( ) : void
return void

GetColor() public method

public GetColor ( int x, int y ) : Color
x int
y int
return Color

LateUpdate() public method

public LateUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

clearAll() public method

public clearAll ( ) : void
return void

Property Details

gridSize public property

public Vector2 gridSize
return Vector2

hiColor public property

public Color hiColor
return Color

lowColor public property

public Color lowColor
return Color

perlinScale public property

public float perlinScale
return float

spriteRow public property

public int spriteRow
return int

tileSize public property

public float tileSize
return float

worldSize public property

public Vector2 worldSize
return Vector2