Search Unity

Question Can custom (user/player) images/files be used/imported?

Discussion in 'Editor & General Support' started by ElMagnifico, Nov 14, 2020.

  1. ElMagnifico

    ElMagnifico

    Joined:
    Aug 27, 2018
    Posts:
    71
    As far as I can see, Unity really likes for everything to be imported and inside the project.

    For one of my project, I want the player to be able to personalize unit portraits with his own pictures, but I'm not sure if that is even possible.
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,689
    Two problems:

    1. At runtime it is trivial to load a JPEG / PNG and make it usable inside of Unity3D.

    2. Harder problem: extracting the images from the user's phone, or firing up the user's camera.

    Fortunately there are tutorials for both available via Googling.