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

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

        target.CreateRandomPolygon();
    }