Move Item Action Panel?

C

CursedToast

Guest
What would be the suggested way to programmatically move the Item Action Panel? My end goal is to move the panel to the position of the item selected, but with a user-set offset in the inspector.

This is my working concept:


I just have it living on my Item Action Panel container object.
Is there a cleaner way you would suggest doing this?
 
Last edited by a moderator:
You may have missed this but there is already a component built-in for that. You can add it using UI Designer very easily
1608710280775.png


You'll want to edit those fields to change the placement of the panel when an Item is clicked (or selected)
1608710380172.png

If this does not suit your needs you can inspire yourself from it to create your own custom script
 
Top