Search Unity

Question How to change 2D Light parameter through script?

Discussion in '2D' started by Rock_Fall, May 25, 2020.

  1. Rock_Fall

    Rock_Fall

    Joined:
    Jun 10, 2018
    Posts:
    4
    Some parameter like "Target Sorting Layers", "Faloff Intensity" and "Alpha Blend on Overlap" on a Point 2D Light, cannot be changed through script because they are only "get;" ones, but I need to do it in my game. There is some way to do it?
     
    Angurvadal likes this.