Flashlight Sys - Setup
Flashlight System - Video Setup
Flashlight Controller Main Setup
Make sure to have a "Flashlight_Canvas" object in your scene which will have all the UI elements. This will be a child of the "AK_CanvasContainer" if you've already imported it from the initial setup
Flashlight System - Basic Steps

Flashlight Controller Script

Flashlight Parameters:
Infinite Flashlight
Tick this if you donât want to pickup batteries
Battery Deg
Set to 0.01 for slow, rate. Higher for a faster burn rate
Battery Count
How many batteries you have at the start and currently
Max Flashlight Intensity
The maximum intensity of the flashlight
Flashlight Rotation Speed
The speed the flashlight will follow the camera
UI References:
Battery Level
Add the âUI_BatterySliderâ from the canvas
Battery Count UI
Add the âUI_BatteryCountâ from the canvas
Flashlight On UI
Add âFlashlight_Indicator_Onâ from the canvas
Flashlight Off UI
Add âFlashlight_Indicator_Offâ from the canvas
Main Flashlight UI
Add âMainFlashlightUIâ from the canvas
Flashlight References:
Flashlight Spot
Add âFlashlight_Spotâ gameobject from âFlashlightSwingâ
Flashlight Movement
Add âFlashlight_Spotâ to the âFlashlightMovementâ
Flashlight Object - Setup

Battery Object - Setup

Default Controls
Last updated
Was this helpful?