RB.DrawMapLayer
Method - Static
public static void DrawMapLayer(int layer)
|
public static void DrawMapLayer(int layer, Vector2i pos)
|
Parameters
layer
|
int
|
Layer number to draw
|
pos
|
Vector2i
|
Offset
|
Returns
Nothing.
Description
Draws the given map layer to the display. The layer is drawn such that tile at position (0, 0) is aligned with the top left corner of the display by default. The optional pos parameter can be used to shift the tilemap in any direction.
RB.DrawMapLayer
also responds to the current camera setting as set by RB.CameraSet.
Example
See Also
RB.CameraSet
See Docs
Features - Tilemaps
Features - Camera
|