For more detail this asset from the Unity Asset Store: Click Here
This is a paid asset, but now you can download Parallax Scrolling VZ for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Parallax Scrolling VZ v1.2.0
Parallax Scrolling VZ provides an easy-to-use framework to create parallax scrolling backgrounds in Unity.
Try it Here
Demo Video
Tutorial – Texture Offset
Tutorial – Infinite Cam Follow
More Tutorials Here
Documentation
3 TYPES OF PARALLAX:
Infinite Texture Offset
– Constantly wraps the background textures
Non-Infinite Camera Follow
– Parallax based on character movement – textures do not repeat. Great option for long levels with different textures
Infinite Camera Follow
– Parallax based on character movement – textures repeat themselves.
FEATURES:
– Easy-to-setup Horizontal & Vertical Parallax scrolling for 2D Games
– Uses orthographic cameras
– 3 Types of Parallax included
– Uses texture quads
– Infinitely wrap textures along both X and Y axis
– Parallax scrolling based on the camera following the character’s movement
– Custom inspector for texture offset scrolling
– Ability to find pixel-perfect X & Y scale for your textures
– Prefabs with camera & layers attached for easy change out
– Ability to change scrolling speed & Z-depth for each background layer
– C# scripts
– Demo scenes