Flash Light


Add a FlashLight to the current camera, and remove it automatically after the animation is end. By default, the timer duration is set to 1 second.

CameraPlay.FlashLight(Color color, float time);

CameraPlay.FlashLight(float time);

CameraPlay.FlashLight(Color color);



Name Description Value Description Default
Time Time duration of the effect animation in second. 1 = 1 Second 1 second
Color Set the color Color in RGBA By default the color is white


CameraPlay.FlashLight(Color.blue); // Add FlashLight Effect for 1 second with the color blue


CameraPlay.FlashLight() : Set a FlashLight randomly on the screen.


The effect is set by default on the main camera, if you want to change the current camera us CameraPlay.CurrentCamera and select the new camera All the other effect will use the new current camera.