[Completed] Add an `Select Item View` Component which is similar to `Equipped Item View`

Justus

Member
Currently there are three components that could help us customize the appearance of Item View when `Select` or `Equipped` stat is detected. They are
- Select Image View
- Equipped Item View
- Equipped Select Item View

Could you please add a `Select Item View` component which allow us enable/disable gameobjects which is similar to what `Equipped Item View` is doing now.
 
I attached the new script. I called it SelectView since it doesn't need reference to the item.
Let me know if it has all the functionality you need. If so I'll add it in the next update
 

Attachments

  • SelectView.cs
    2.2 KB · Views: 1
Sorry

You can add it in the same folder as SelectImageView.

Also to avoid problems when you update the asset. Change the SelectView.cs.meta file contents to this:
Code:
fileFormatVersion: 2
guid: 8c136819872044699be842ecd53f6e44
timeCreated: 1651649560
 
This works perfectly, please add it to the next update.

For anyone who may need, I list my steps to use this component here.
1. download and drag SelectView.cs to `Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/ItemViewModules` folder
1651655341049.png
2. change the content of SelectView.cs.meta manually. this is mine after modification
1651655393373.png
3. add component `Select View` to you Item View and use it.
 
Top