Unity Bounds Capture Camera by XJINE - 55

Camera

Set orthographic camera viewport rect to capture all of the selected bounds.

Unity 2018.3.9f1BSD 3-Clause "New" or "Revised" LicenseUpdated 1 year agoCreated on October 10th, 2018
Go to source

Unity_BoundsCaptureCamera

Set orthographic camera viewport rect to capture all of the selected bounds.

Import to Your Project

You can import this asset from UnityPackage.

Dependencies

You have to import following assets to use this asset.

How to Use

Add BoundsCaptureCamera.cs to camera and set some Bounds which inherit BoundsMonoBehaviour.cs in Inspector.

And, set BoundsCaptureCamera.UpdateCaptureArea() method to BoundsMonoBehaviour.BoundsUpdateEvent if you need.

Show all projects by XJINE