SnappingCamera
This component can be added to your Main Camera GameObject in your scene. When its Transform.position exceeds the MaximumDistance, its position will be snapped to 0, and all GameObjects in the scene with the SnappingObject component will be snapped by this distance.
MaximumDistance
The camera position will snap when it exceeds this distance from the origin.
SnapSelf
Should this camera's Transform.position also snap? You can disable this if the camera position is driven by another component.
Last updated