Beispiel #1
0
 private void Start()
 {
     player      = GameObject.FindGameObjectWithTag("Player").transform; //Find player in scene
     CamEditPOS  = GameObject.Find("CamEditPOS").transform;
     cameraShake = GetComponent <CameraShakeEffect>();
     self        = GetComponent <Camera>();
 }
Beispiel #2
0
 private void Start()
 {
     player      = GameObject.FindGameObjectWithTag("Player").transform; //Find player in scene
     cameraShake = GetComponent <CameraShakeEffect>();
 }