DROP WATER


Descriptions

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

CameraPlay.DropWater(float x, float y, float time, float size);

CameraPlay.DropWater(float x, float y, float time);

CameraPlay.DropWater(float x, float y);

CameraPlay.DropWater();

Parameters

Name Description Value Description Default
X The x position of the effect. 0 = left side of the screen. 0.5f = center of the screen Random Value between 0 to 1
Y The y position of the effect. 0 = down side of the screen. 0.5f = center of the screen Random Value between 0 to 1
Time Time duration of the effect animation in second. 1 = 1 Second 1 second
Size Size of the Distortion FX 1 = normal / 2 = Mul by 2 / 0.5 = Division by 2 Set to 1

Example:

CameraPlay.DropWater(); // Add Drop Water Effect for 2 seconds

Note:

CameraPlay.DropWater() : Set a drop water randomly on the screen.

Note:

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.