public Slicer2DAnchor Copy()
        {
            Slicer2DAnchor instance = new Slicer2DAnchor();

            instance.anchorsList     = anchorsList;
            instance.anchorType      = anchorType;
            instance.anchorPolygons  = anchorPolygons;
            instance.anchorColliders = anchorColliders;

            return(instance);
        }
Пример #2
0
 void OnAnchorSliceResult(Slice2D sliceResult)
 {
     Slicer2DAnchor.OnAnchorSliceResult(this, sliceResult);
 }
Пример #3
0
 bool OnAnchorSlice(Slice2D sliceResult)
 {
     return(Slicer2DAnchor.OnAnchorSlice(this, sliceResult));
 }