Light - turn on/off, change color (OnTriggerEnter/Exit) | Unity tutorial

Опубликовано: 29 Сентябрь 2024
на канале: Szymon Mozol
3,172
60

Hi guys in this video i will show you how to turn on/off and change color of our light when our player is touching the trigger by using simple script with OnTriggerEnter and OnTriggerExit.

If you need C# script for your game or whole game i can help you here:
https://www.fiverr.com/mozikr?up_roll...

If you want to play one of my prototyp games there is a link
https://mozikr.itch.io/
And also you can follow me on Artstation and github
https://www.artstation.com/mozikr
https://github.com/Mozikr

0:00 Info
0:10 Turn on/off light
3:52 Changing light color