Search Unity

<Light2D> methods for changing the inner and outer radius

Discussion in '2D' started by AntonTsirov, Aug 17, 2019.

  1. AntonTsirov

    AntonTsirov

    Joined:
    Aug 14, 2019
    Posts:
    3
    Hello everyone,

    I am trying to manipulate Light2D variables in a script.
    I am able to change the intensity and color of the light through the script like this:
    upload_2019-8-17_14-45-44.png
    But I want to also be able to change these:
    upload_2019-8-17_14-46-46.png
    Is it possible to do that and what method should I call in the script?
    I am mostly interested in inner/outer radius.