Light2D Trigger in Unity On/Off light in Unity (Unity Tutorial)
- FireRaccoon
- 21 gru 2024
- 1 minut(y) czytania
lets create very easy Light switching system in Unity
►Hit the link to all Tutorials
lets create very easy and flexible Light 2D trigger system in Unity using easy script. It is awesome method for simple and huge games. You can add multiple lights with different power. For bosses chambers or switching day to night. For traps too. I am using this one in my game Souless Name.
►Contents of This Video:
00:00 - intro
00:13 - Creating Scene and showing global light 2D
00:34 - Creating Light Trigger Game object and script
01:56 - Creating 2nd Global Light and assigning to script
02:25 - First Test 02:36 - Refactoring script to turn ON/OFF light
03:20 - End functionality
►Don't forget to Subscribe for NEW game dev videos
►I know many things may be done better not as good as Brackeys, CodeMonkeyUnity, SasquatchBgames but good as well: "if something is working cannot be bad" :)
cheers FireRaccoon Games
Scripts:
Comments