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

Implement Inventory with 3d Objects

Discussion in 'UGUI & TextMesh Pro' started by Koval331, Aug 6, 2019.

  1. Koval331

    Koval331

    Joined:
    Feb 3, 2019
    Posts:
    114
    How do I implement the inventory where I would have 3d models inside of each inventory slot. Something like this, but imagine that those are little 3d models:

    upload_2019-8-6_18-10-2.png upload_2019-8-6_18-10-14.png
     

    Attached Files:

  2. bentontr

    bentontr

    Joined:
    Jun 9, 2017
    Posts:
    39
    Last edited: Aug 7, 2019
  3. Koval331

    Koval331

    Joined:
    Feb 3, 2019
    Posts:
    114
  4. bentontr

    bentontr

    Joined:
    Jun 9, 2017
    Posts:
    39
    No, you would continue to render to that render texture at runtime as well. That way you could apply a rotation or something to the item, for example.
     
  5. Koval331

    Koval331

    Joined:
    Feb 3, 2019
    Posts:
    114
    Ok. But what if I have a 100 items? That means I need to spawn somewhere in my scene 100 cameras with 100 objects in front of them, right?
     
    phocux likes this.