Search Unity

Question How to change light color from Event Settings: On Recieve ?

Discussion in 'Scripting' started by jdjddjdj, Mar 16, 2023.

  1. jdjddjdj

    jdjddjdj

    Joined:
    Apr 5, 2020
    Posts:
    8
    Hello all!
    Am a relative Unity newby, especially in the nuts n bolts area

    Am having an issue where I cannot connect to the color component of a light to change the color using Events Settings: On Receive

    If you look at the attached (image #1) you will see i have ExtOSC working great with several parameters, such as Light.innerSpotAngle / Light.spotAngle / Transform.localEulerAngles / etc etc..

    I cannot find in the list any reference to Color (image #2) - am i looking in the wrong place?

    Have tried with Floats / Vector 2/3/4 but cannot get the parameter i am looking for to show up as an option.

    I AM able to control the Temperature with a float when i change the light to Filter and Temperature, but is not nearly as useful as Color would be.

    thanks very much for any pointers ya'll might have

    thx
    jd



    WORKING STUFF
    Event issue1.png

    Would love to see "LightColor" or "Color" as an option
    Event issue2.png
     

    Attached Files: