private void Start() { orientationZoomedIn = GameObject.Find("ZoomedInOrientation"); orientationZoomedOut = GameObject.Find("ZoomedOutOrientation"); zIRect = orientationZoomedIn.GetComponent <RectTransform>(); zORect = orientationZoomedOut.GetComponent <RectTransform>(); shipController = FindObjectOfType <ShipController>(); camController = FindObjectOfType <CameraController_Dynamic>(); }
// Start is called before the first frame update void Start() { cameraIndicatorTMPro = GetComponent <TextMeshProUGUI>(); camera = GameObject.FindObjectOfType <CameraController_Dynamic>(); cameraIndicatorTMPro.text = text + lockText; }