private void EnableCameraFromType(CameraType cameraType) { #if Cinemachine int typeIndex = cameraType.CToInt(); for (int i = 0; i < this._cinemachineCameras.Length; i++) { this._cinemachineCameras[i].gameObject.SetActive(i == typeIndex); } #endif }