Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
beowulfkaine's avatar
beowulfkaine
Honored Guest
11 months ago

Need some serious help with POKE INTERACTIVE Assignments on "When Select Pointer event" is triggered

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?

Replies have been turned off for this discussion