Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Feedback How to get user picture

Discussion in 'UGUI & TextMesh Pro' started by xtdiwd, May 28, 2021.

  1. xtdiwd

    xtdiwd

    Joined:
    Jul 25, 2020
    Posts:
    115
    I know that in Windows I can access %TEMP%[user].bmp and get the user's avatar.
    How do I in Unity, regardless of platform, get the user's image?
    If there is no built-in feature , what are the paths for the various platforms?
    I want to read the image and load it as a UI.Image sprite.