public void StartDrawing() { parent.StartDrawing(); spritesPreOffset.Clear(); spritesPostOffset.Clear(); batchCounter = 0; }
public void StartDrawing() { if (renderTarget == null) { throw new InvalidOperationException("No renderer defined in viewport renderer."); } renderTarget.StartDrawing(); }
public void StartDrawing() { if (parent == null) { throw new InvalidOperationException("No parent renderer set for batched sprite rendering. Check your set-up code."); } if (childCount == 0) { parent.StartDrawing(); startLineCount = 0; } childCount += 1; }
public void StartDrawing() { parent.StartDrawing(); }