02-28-2025 01:47 PM
I have a pointable unity event wrapper component on this button visual so it executes a script or game object. however I have to manually assign it, I need it to be able to be auto-assigned from a script or even playmaker. the reason is that the same button needs to operate multiple on-off events but those change depending on where the player is. I have over 40 items now and I would have to create 40 buttons to accommodate this. I would like it not to be hard-linked but assignable, which is then hard linked. Depending on where the player is, the hard link will be changed to the appropriate game object. Is this even possible?