Controller Script
The following section describes the exposed properties of the controller script, as well as its methods. You can use the controller script to perform the fullscreen pulse effect without having to manually control its values.
Properties
Fade On Screen Pulse
If checked, the controller script will perform a screen fade in and out effect along with the pulse.
Full Screen Pulse Effect Material
By default, this is assigned to the fullscreen pulse material in Fullscreen Pulse Shader/Materials.
In case you are using your own material, assign it here.
In case you are using your own material, assign it here.
Main Camera
The scene's main camera game object.
Methods
public void PerformFullscreenPulse()
This method initiates the fullscreen pulse effect in a non-blocking coroutine. It also takes care of repeat calls, making sure only one effect can be started at a time. You can call this method from your own scripts if you would like to dynamically start the effect during gameplay.