How to start a conversation 'on click' (or 'on tap' if it's mobile)?
Posted: Sun Dec 23, 2018 10:34 am
I must be missing something basic because I'm sure this must be easy, but I can't figure it out after a couple of hours - and searching for 'on click' here on the forum or in the manual isn't helping me I'm afraid.
I've downloaded '2DBarkExample_2018-05-06.unitypackage' and '2DClickTriggerExample_Bubble_ProximitySelector.unitypackage' both of which I think might be really helpful, but I can't get either of those examples to work with v2.0.9 (even after running the 1>2 update tool, and I can't see anything in the way they're set up to help me figure it out).
I'm making a super basic 2D RPG. I have my player on screen, and an NPC. I want to be able to click (or tap, if I'm on mobile) on an NPC to trigger a conversation. It doesn't need proximity or collision triggers which I think I can get working, I just want to click (or tap) on an NPC GameObject and have that start the dialogue. As I wander around the world I want to be able to click on different NPCs to start different dialogues, but I can't find anything in the Trigger events or any scripts to make this happen.
Like I said, I must be being stupid because this can't be hard (can it?) I just can't figure it out.
And I appreciate that it's nearly Christmas so I expect support and replies may be slow
Still, any help would be super appreciated. Thanks!
I've downloaded '2DBarkExample_2018-05-06.unitypackage' and '2DClickTriggerExample_Bubble_ProximitySelector.unitypackage' both of which I think might be really helpful, but I can't get either of those examples to work with v2.0.9 (even after running the 1>2 update tool, and I can't see anything in the way they're set up to help me figure it out).
I'm making a super basic 2D RPG. I have my player on screen, and an NPC. I want to be able to click (or tap, if I'm on mobile) on an NPC to trigger a conversation. It doesn't need proximity or collision triggers which I think I can get working, I just want to click (or tap) on an NPC GameObject and have that start the dialogue. As I wander around the world I want to be able to click on different NPCs to start different dialogues, but I can't find anything in the Trigger events or any scripts to make this happen.
Like I said, I must be being stupid because this can't be hard (can it?) I just can't figure it out.
And I appreciate that it's nearly Christmas so I expect support and replies may be slow
Still, any help would be super appreciated. Thanks!