void OnEnable() { //originalPos = objectTransform.localPosition; heightScript = GetComponent <TriggerShift> (); camScript = Camera.main.GetComponent <CameraShake> (); }
void OnEnable() { //originalPos = objectTransform.localPosition; heightScript = GetComponent<TriggerShift> (); camScript = Camera.main.GetComponent<CameraShake> (); }