3DTD/Assets/Scripts/Camera/CameraController.cs

30 lines
695 B
C#

using UnityEngine;
using Cinemachine;
public class CameraController : MonoBehaviour
{
//[SerializeField] private CinemachineVirtualCamera cam;
//private CinemachineOrbitalTransposer orbitalTransposer;
//private void Start()
//{
// orbitalTransposer = cam.GetCinemachineComponent<CinemachineOrbitalTransposer>();
//}
//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;
// }
//}
}