Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

How to use light in ui element(image, text...)?

Discussion in 'Editor & General Support' started by atk_defender, Nov 28, 2019.

  1. atk_defender

    atk_defender

    Joined:
    Jun 26, 2018
    Posts:
    20
    I want to make a 2d game that the player can tap every picture.
    The pictures can be spriteRenders or images on the canvas.
    Since the picture must be tap, the spriteRender is out.

    I know sprite's material set to Sprite-Diffuse, then the sprite can be light.
    But it seems it doesn't work on the canvas's stuff (image, text...).

    I try LWRP too, but it lows the FPS 60→45.
    And LWRP's point light always got a dark line on the radius.

    I don't know how to add a light now.
    Please help : D
     
unityunity