Flashlight Sys - Setup
Last updated
Was this helpful?
Last updated
Was this helpful?
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
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
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 Spot
Add “Flashlight_Spot” gameobject from “FlashlightSwing”
Flashlight Movement
Add “Flashlight_Spot” to the “FlashlightMovement”