Do you want your camera rotates around an object? In this tutorial, I will show you how to create a simple one.
- Download C# class scripts: OrbitRotation.
- Add this class to your Main Camera.
- In the OrbitRotation inspector, you will see the field named: lookAtTarget. This variable is the transform which camera will orbit around.