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