// Start is called before the first frame update void Start() { GameObject camera = GameObject.Find("Main Camera"); CameraShake = camera.GetComponent <S_CameraShake>(); //right = false; //left = false; }
// Start is called before the first frame update void Start() { GameObject camera = GameObject.Find("Main Camera"); CameraShake = camera.GetComponent <S_CameraShake>(); }