Exemplo n.º 1
0
 public void DrawLevelEditorGizmos(ILevelEditorGizmosDrawer drawer)
 {
     if (target != null)
     {
         drawer.DrawLine(transform.position, target.transform.position, Color.blue);
     }
 }
Exemplo n.º 2
0
 public static void DrawLine(this ILevelEditorGizmosDrawer drawer, Vector3 start, Vector3 end)
 {
     drawer.DrawLine(start, end, Color.white);
 }