Beispiel #1
0
    public void CreateCustomShape()
    {
        ICreatePolygon target = targetPolygon.GetComponent <ICreatePolygon>();

        target.CreatePolygon(sidesInput, radiusInput);
    }
Beispiel #2
0
    public void CreateRandomShape()
    {
        ICreatePolygon target = targetPolygon.GetComponent <ICreatePolygon>();

        target.CreateRandomPolygon();
    }