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