Camera Shaker

The camera shaker is added as an additional feature to better showcase the warp effect and make it feel more “realistic”. Since the shaker randomly changes the x and y transform positions of the attached gameObject, it could potentially interfere with your own camera scripts.Depending on how your camera controller works it could also simply negate the shake effects. So keep in mind that this script may or may not work with your controller.

But feel free to look at the code and directly integrate it in your camera controller.

Also if you are stuck and need help, feel free to contact me.

If you use the shaker, please make sure the CameraShaker script is attached to your camera.

If you don’t want to use the Camera Shaker, simply remove the Camera.Instance.Shake() part from the StartEffect() method in the WarpController.

Last updated