コード例 #1
0
    public override void doDebugAction()
    {
        Object.Destroy(point1);
        Object.Destroy(point2);
        VectorLine.Destroy(ref this._vectorline);

        if (TPPMode.RANDOM == tppmode)
        {
            tppmode = TPPMode.PERIMETER;
        }
        else
        {
            tppmode = TPPMode.RANDOM;
        }
        generatePointsAndDraw();
    }
コード例 #2
0
 public override void doDebugAction() {
     Object.Destroy(point1);
     Object.Destroy(point2);
     VectorLine.Destroy(ref this._vectorline);
     
     if(TPPMode.RANDOM == tppmode) {
         tppmode = TPPMode.PERIMETER;
     } else {
         tppmode = TPPMode.RANDOM;
     }        
     generatePointsAndDraw();
 }