Skip to content

Commit b4e22bb

Browse files
committed
Increase left edge padding for despawning objects
1 parent 67b90ea commit b4e22bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Scripts/Obstacle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public class Obstacle : MonoBehaviour
66

77
private void Start()
88
{
9-
leftEdge = Camera.main.ScreenToWorldPoint(Vector3.zero).x - 1f;
9+
leftEdge = Camera.main.ScreenToWorldPoint(Vector3.zero).x - 2f;
1010
}
1111

1212
private void Update()

0 commit comments

Comments
 (0)