예제 #1
0
 public void redCollab()
 {
     cntrR++;
     if (cntrR % 2 != 0) //for cntrR = 1, 3, 5...
     {
         for (int i = 0; i < RtransformLocations.Count; i++)
         {
             Instantiate(bubbles, 2 * RtransformLocations[i], rquat);
         }
         dat.redVis("Collaborated with red brush");
     }
     else
     {
         dat.redVis("stopped collab with red brush");
     }
 }