no spacebar on mobile to interact

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
mroyusa
Posts: 6
Joined: Sun Nov 22, 2015 11:57 am

no spacebar on mobile to interact

Post by mroyusa »

where do i change setting to tap on screen or npc to interact, it says press spacebar to interact, but on a mobile device there is no spacebar
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: no spacebar on mobile to interact

Post by Tony Li »

Hi Martin,

Your player GameObject probably has a component named Selector or Proximity Selector. This component has a Default Use Message. Set the text to whatever you want, such as "Tap to Interact".

On NPCs, the Usable component has an Override Use Message that you can optionally set to show a different message only for that NPC.
mroyusa
Posts: 6
Joined: Sun Nov 22, 2015 11:57 am

Re: no spacebar on mobile to interact

Post by mroyusa »

tap to interact makes sense but thats only text, how do i change the space bar to a tap for phone, i searched the list of options but do not see a touch input to act as a spacebar. maybe i missed it somewhere
mroyusa
Posts: 6
Joined: Sun Nov 22, 2015 11:57 am

Re: no spacebar on mobile to interact

Post by mroyusa »

Just added the selector to player and noticed the touch input box.
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: no spacebar on mobile to interact

Post by Tony Li »

Awesome! If you run into any issues, just let me know!
mroyusa
Posts: 6
Joined: Sun Nov 22, 2015 11:57 am

Re: no spacebar on mobile to interact

Post by mroyusa »

Sorry I spoke too fast, what should the settings be under touch so when they touch the screen it acts like the spacebar so player can interact?
Phela_Poscam
Posts: 2
Joined: Thu Mar 09, 2017 8:09 am

Re: no spacebar on mobile to interact

Post by Phela_Poscam »

Hi,
i was looking for some way to be able to interact with a NPC with mobile input. How can i set the start a conversation by tapping the screen?

thanks
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: no spacebar on mobile to interact

Post by Tony Li »

Phela_Poscam wrote:Hi,
i was looking for some way to be able to interact with a NPC with mobile input. How can i set the start a conversation by tapping the screen?

thanks
Hi - I just replied here.
Post Reply