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