Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

how do I edit images realtime?

Discussion in 'Scripting' started by andgarrett, Apr 30, 2017.

  1. andgarrett

    andgarrett

    Joined:
    Apr 27, 2017
    Posts:
    2
    I want to use an in-game heatmap. I know I could do it if I could edit the individual pixel of an image. is that possible in unity?
     
  2. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Check out GetPixels and SetPixels.
     
    andgarrett likes this.