Line Burst
Draw large amounts of lines and shapes in game and scene view
com.bassmit.lineburst 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/lineburst.git#upm README Markdown
Copy this to your project's README.md
## Installation
Add **Line Burst** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/lineburst.git#upm
```
[](https://www.pkglnk.dev/pkg/lineburst)README
LineBurst
Introduction
Plot functions and draw large amounts of debug lines, shapes and text to the Unity Game and Scene View, from BURST compiled jobs or MonoBehaviours.
Installation
If OpenUpm is not installed, ensure node.js is installed so you have access to npm and run:
npm install -g openupm-cli
To add LineBurst to a Unity project, open a prompt in the project root and run:
openupm add com.bassmit.lineburst
Getting Started
Create a LineBurstRenderer behaviour, then use the thread safe static APIs like:
Draw.Line(a, b, Color.red);
When the amount of elements to be drawn is known allocate the required buffer in one operation:
var spheres = new Draw.Spheres(amount);
for (int i = 0; i < amount; i++)
spheres.Draw(points[i], radii[i], colors[i]);
For additional examples install the Samples through the package manager.
Notes
The default font is missing lower case letters and many signs, a basic editor is provided in the scene view when a font is selected, pull requests are welcome ; ) The Unity Physics package forms the basis of this package.
Comments
No comments yet. Be the first!
Sign in to join the conversation
Sign In