Search Unity

Trouble with coding

Discussion in 'Scripting' started by Thor018, Nov 19, 2017.

  1. Thor018

    Thor018

    Joined:
    Nov 19, 2017
    Posts:
    2
    Hello, I've never coded before and I'm trying to get some lights to change color periodically. I've found some prewritten code lines but I'm getting really confused as how I'm supposed to apply these changes to a set of objects. All help would be appreciated. Also this is in C#
     
  2. TheHighGround

    TheHighGround

    Joined:
    Nov 19, 2017
    Posts:
    68
    You can look at the Light API it has details on how to edit things on Lights such as color. If you are asking how to do something in Unity you should read up on some details about Unity. You can learn more about Unity via Unity Learn.
     
    Kurt-Dekker likes this.
  3. TaleOf4Gamers

    TaleOf4Gamers

    Joined:
    Nov 15, 2013
    Posts:
    825
    Having experienced code in some form previously is ridiculously useful IMO. Unity adds a whole other layer of complexity and knowledge on top that I usually recommend learning outside of the Unity environment.

    What you're probably looking for:
     
    Kurt-Dekker likes this.