public void CreateCustomShape() { ICreatePolygon target = targetPolygon.GetComponent <ICreatePolygon>(); target.CreatePolygon(sidesInput, radiusInput); }
public void CreateRandomShape() { ICreatePolygon target = targetPolygon.GetComponent <ICreatePolygon>(); target.CreateRandomPolygon(); }