public class ParallaxBehaviour

Inherits MonoBehaviour

[RequireComponent(typeof(Camera))]

Moves and scales a transform to make it appear far away. This component requires a camera

Fields

public float Depth

The apparent depth of the object


public Vector2 Offset

The apparent offset of the object


public Vector2 Scale

The apparent size of the object


public Transform Container

The object to transform


Attention!

This member is obsolete and should not be used. It is a remnant from the past.

bi bij bibi