Exemplo n.º 1
0
 public void CreateRightBarrier()
 {
     barrierRight.Generate(width / 2);
     barrierRight.transform.localPosition = new Vector2(width, barrierRight.transform.localPosition.y);
 }
Exemplo n.º 2
0
 public void CreateLeftBarrier()
 {
     barrierLeft.Generate(width / 2);
 }