addPoints() public method

public addPoints ( GameObject b, bool d, float t ) : void
b GameObject
d bool
t float
return void
Ejemplo n.º 1
0
 public void eraseLine(bool draw)
 {
     for (int i = 0; i < lines.Count; i++)
     {
         makeLine other = (makeLine)lines[i].GetComponent(typeof(makeLine));
         other.addPoints(brush, draw);
     }
 }
Ejemplo n.º 2
0
        public void drawLine(bool draw)
        {
            makeLine other = (makeLine)lines[lines.Count - 1].GetComponent(typeof(makeLine));

            other.addPoints(brush, draw);
        }