void Start()
 {
     currentActiveTurret = turretManager.GetStartingTurret(3);
     currentActiveCamera = turretManager.GetPlayerCamera(3);
     AdjustTurretSettings();
     currentActiveCamera.Activate();
     currentActiveTurret.ActivateTurret();
 }
 public void SwitchMainCamera(PlayerCamera newActiveCamera)
 {
     if (newActiveCamera != null)
     {
         currentActiveCamera.Deactivate();
         currentActiveCamera = newActiveCamera;
         currentActiveCamera.Activate();
     }
 }
    //更新関数
    public void Activate()
    {
        if (baseObserver.Count == 0)
        {
            nextPosition = mainCamera.Activate(ref lookAtPosition);
        }

        OtherMovePosition(); //他のカメラの動きを優先する

        transform.LookAt(lookAtPosition);
        transform.position = nextPosition;
    }