public EditorMesher(MarchingSquaresComponent original) { this.original = original; mesh = new Mesh(); mesher = new MarchingSquaresMesher(); }
private void OnEnable() { marchingSquares = (MarchingSquaresComponent)target; props = new Utils.ComponentProperties <PropNames>(serializedObject); }