Hello,
I’m trying to render a path with Aline to a specific cam.
I’m getting this error from my IDE :
could you help about it ? (code is below) Thanks !
void Update()
{
var buffer = new List();
ai.GetRemainingPath(buffer, out bool stale);
for (int i = 0; i < buffer.Count - 1; i++)
{
using (var draw = DrawingManager.GetBuilder(true))
{
draw.cameraTargets = new[] {myCamera};
using (Draw.ingame.WithColor(Color.red))
{
{
Draw.ingame.Line(buffer[i], buffer[i + 1]);
}
}
draw.Dispose();
}
}
}