13 public LineRenderer
lr;
20 from.z = (to.z = -300f);
21 lr.SetPosition(0, from);
22 lr.SetPosition(1, to);
42 public void DrawWall(
Point point,
int color,
bool useMarkerPass =
false,
float offsetZ = 0f)
52 renderParam.matColor = color;
53 renderParam.z -= 0.01f;
58 renderParam.z += sourceBlock.renderData.offset.z + offsetZ;
67 renderParam.tile *= -1f;
static BaseGameScreen screen
void Add(Point point, float tile=0f, float color=0f)
SourceMaterial.Row matBlock
SourceBlock.Row sourceBlock
ref Vector3 Position(int height)
void Draw(RenderParam p, int tile)
void DrawWall(Point point, int color, bool useMarkerPass=false, float offsetZ=0f)
void DrawFloor(Point pos, int tile)
void DrawBlock(Point pos, int tile)
void DrawLine(Vector3 from, Vector3 to)
override RenderParam GetRenderParam(SourceMaterial.Row mat, int dir, Point point=null, int bridgeHeight=-1)