private static void draw_planetaria_collider_gizmos(PlanetariaCollider self, GizmoType gizmo_type)
        {
            PlanetariaShapeEditor.draw_shape(self.shape, self.gameObject.internal_game_object.transform.rotation);

            /*
             * if (!self.is_field)
             * {
             *  PlanetariaArcColliderEditor.draw_arc(self.shape.block_list[arc_identifier],
             *          self.gameObject.internal_game_object.transform.rotation, mask);
             * }
             * else
             * {
             *  for (int index = 0; index < self.shape.field_list.Length; ++index)
             *  {
             *      if (!mask[index])
             *      {
             *          PlanetariaSphereColliderEditor.draw_sphere(self.shape.field_list[index],
             *          self.gameObject.internal_game_object.transform.rotation);
             *      }
             *  }
             * }
             */
        }
Example #2
0
 static void draw_arc_builder_gizmos(EquilateralBuilder self, GizmoType gizmo_type)
 {
     PlanetariaShapeEditor.draw_shape(self.shape, self.gameObject.transform.rotation);
 }
Example #3
0
 private static void draw_arc_builder_gizmos(ArcBuilder self, GizmoType gizmo_type)
 {
     PlanetariaShapeEditor.draw_shape(self.shape, Quaternion.identity);
 }