Пример #1
0
 public override IntPtr GetShape()
 {
     Shapetype      = LPShapeTypes.Circle;
     AdjustedRadius = Radius * GetScale();
     PointCopy      = transform.TransformPoint(new Vector3(Offset.x, Offset.y)) - transform.position;
     return(LPShapeCircle.Initialise(PointCopy, AdjustedRadius));
 }
Пример #2
0
    protected override IntPtr GetShape()
    {
        Vector3 pos = transform.TransformPoint(Vector3.zero);

        return(LPShapeCircle.Initialise(pos, Radius));
    }