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