using UnityEngine; using Cinemachine; public class CameraController : MonoBehaviour { //[SerializeField] private CinemachineVirtualCamera cam; //private CinemachineOrbitalTransposer orbitalTransposer; //private void Start() //{ // orbitalTransposer = cam.GetCinemachineComponent(); //} //private void Update() //{ // if (Input.GetMouseButtonDown(1)) // { // orbitalTransposer.m_XAxis.m_InputAxisName = "Mouse X"; // //orbitalTransposer. // } // if (Input.GetMouseButtonUp(1)) // { // orbitalTransposer.m_XAxis.m_InputAxisName = null; // } //} }