using UnityEngine; using UnityEngine.UI; public class TestLoadLocalXmlDoc : MonoBehaviour { [SerializeField] private CameraCalibrationLoader.EyeType eyeTyep = CameraCalibrationLoader.EyeType.LeftEye; [SerializeField] private Text text; private void Start() { CameraCalibration leftCameraIntinsics = CameraCalibrationLoader.GetCameraCalibration(eyeTyep); if (leftCameraIntinsics != null) { Debug.Log(leftCameraIntinsics.ToString()); if (text != null) { text.text = leftCameraIntinsics.ToString(); } } } }