Game Development Reference
In-Depth Information
Next, we will add a
Box Collider 2D
to each border game object and increase its height
just to ensure that it works for the entire height of the scene. I've set the
Y
value to
5
for
effect, as shown in the following screenshot: