private void Start() { _camController = GameObject.FindGameObjectWithTag("CameraController").GetComponent <CameraSwitching>(); //_gazeSpotlight = GameObject.FindGameObjectWithTag("Projector").GetComponent<Projector>(); }
void Start() { _gazeSpotlight = GetComponent <Projector>(); _camSwitch = GameObject.FindGameObjectWithTag("CameraController").GetComponent <CameraSwitching>(); _girlGaze = GameObject.FindGameObjectWithTag("Player").GetComponent <girlGaze>(); }