private void Awake() { SimulatorCamera = Instantiate(SimulatorCameraPrefab, transform).GetComponentInChildren <Camera>(); CameraController = SimulatorCamera.GetComponentInParent <SimulatorCameraController>(); }
private void Awake() { SimulatorCamera = Instantiate(SimulatorCameraPrefab, transform).GetComponentInChildren <Camera>(); CameraController = SimulatorCamera.GetComponentInParent <SimulatorCameraController>(); }