Is it possible to draw ALINE-powered gizmos on top of every other object, like the default unity gizmos? For me it seems that the gizmos are intersecting with scene objects.
Doing this requires the materials to be modified a bit.
You can modify the materials that ALINE renders with using this code:
// Make the gizmos transparent behind objects DrawingManager.gizmos.lineMaterial.SetColor("_FadeColor", new Color(1.0f, 1.0f, 1.0f, 0.0f); DrawingManager.gizmos.surfaceMaterial.SetColor("_FadeColor", new Color(1.0f, 1.0f, 1.0f, 0.0f); DrawingManager.gizmos.textMaterial.SetColor("_FadeColor", new Color(1.0f, 1.0f, 1.0f, 0.0f);
Alternatively, you can duplicate ALINE’s default materials and change their fade color, and then assign them to