using System; using System.Collections.Generic; namespace FIMSpace.Generating { public partial class TileMeshSetup { //[NonSerialized] public List _editorPoints = new List(); //[NonSerialized] public List _editorPoints2 = new List(); [NonSerialized] public List previewShape = new List(); [NonSerialized] public List previewShape2 = new List(); [NonSerialized] public List previewShape3 = new List(); public float splineLength = 1f; public float splineLength2 = 1f; public float splineLength3 = 1f; public void QuickUpdate() { if (GenTechnique == EMeshGenerator.Lathe) LatheQuickUpdate(); else if (GenTechnique == EMeshGenerator.Loft) LoftQuickUpdate(); else if (GenTechnique == EMeshGenerator.Extrude) ExtrudeQuickUpdate(); else if (GenTechnique == EMeshGenerator.Sweep) SweepQuickUpdate(); else if (GenTechnique == EMeshGenerator.Advanced) CustomAndExtraQuickUpdate(); } internal void PrepareCurves() { if (previewShape == null) previewShape = new List(); if (previewShape2 == null) previewShape2 = new List(); if (previewShape3 == null) previewShape3 = new List(); if (_extrudePreview == null) _extrudePreview = new List(); if (_loft_depth == null) _loft_depth = new List(); if (_loft_distribute == null) _loft_distribute = new List(); if (_loft_height == null) _loft_height = new List(); if (_lathe_points == null) _lathe_points = new List(); if (_extrude_curve == null) _extrude_curve = new List(); if (_sweep_path == null) _sweep_path = new List(); if (_sweep_shape == null) _sweep_shape = new List(); if (_sweep_radius == null) _sweep_radius = new List(); } } }