Single-Script Parallax


Add parallax scrolling to your project with just one script! Attach the ParallaxBehavi ...


by Dossamer


Price History +

Add parallax scrolling to your project with just one script! Attach the ParallaxBehavior component to any game object to make it position itself relative to its depth, a horizon point in the scene, and a camera transform.

Parent multiple objects to a ParallaxBehavior-enabled Empty to create a parallax layer. This makes it possible to assemble complex backgrounds out of configurations of, for example, particle systems and animations.

A limitation of this system: at present you can only render one camera at a time, so split-screen setups aren't currently supported.