Sniper Scope
Descriptions
Add a Sniper Scope to the current camera. Turn on or off the FX.
CameraPlay.SniperScope_ON(float time);
CameraPlay.SniperScope_OFF(float time);
CameraPlay.SniperScope_ON();
CameraPlay.SniperScope_OFF();
Parameters
Name | Description | Value Description | Default |
---|---|---|---|
Time | Time duration of the effect animation in second. | 1 = 1 Second | 0.5 second |
Example:
CameraPlay.SniperScope_ON(1); // Turn on the Sniper Scope FX with a fading-on of 1 second.
CameraPlay.SniperScope_OFF(0.5f); // Turn off the Sniper Scope FX with a fading-on of 0.5 second.
Note:
Due to the On/Off system, you can only use 1 Fx at the time.
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.