using System.Collections; using System.Collections.Generic; using UnityEngine; namespace R0bbie.VRSubtitles { public class FaceCamera : MonoBehaviour { Transform cameraToFace; bool init; public void Init(Camera _cameraToFace) { cameraToFace = _cameraToFace.transform; init = true; } void Update() { transform.LookAt(cameraToFace); transform.Rotate(0, 180, 0); } } }