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); * } * } * } */ }
static void draw_arc_builder_gizmos(EquilateralBuilder self, GizmoType gizmo_type) { PlanetariaShapeEditor.draw_shape(self.shape, self.gameObject.transform.rotation); }
private static void draw_arc_builder_gizmos(ArcBuilder self, GizmoType gizmo_type) { PlanetariaShapeEditor.draw_shape(self.shape, Quaternion.identity); }