Changing Position or Removing Chat Box UI from Unity

Original Discord Post by cytrax_6969 | 2024-07-25 11:04:49

I wanted to know how we can either remove the Chat Box from the Scene or Change the position of the Chat Box in the Unity. The problem is the Chat Box UI, Notification UI, and the Settings UI are so close to the screen that they are not fully visible. When I play the Scene in Unity It doesn’t show up in the VR, instead it shows it in the Laptop Screen. But when i Build the app and play it in the VR, The UI shows inside the VR and it is so close such that it is not properly visible.

Reply by k3kalinix | 2024-07-25 11:17:35

Hello <@601335028374568960>, Welcome to Convai Community!

By default, the Notification UI/Settings are on the left hand of your VR Controller.

You can activate them by pressing the Left Controller’s Primary Button. It is up to you to adjust the position of these UI. (By changing Rect Transform’s Position)

For Chat UI positions, you can change the offset value in Chat UI prefabs. (Please check the screenshot)

This is a demo scene and it is up to you to customize/change it.

Images:

Reply by cytrax_6969 | 2024-07-25 11:25:35

Images:

Reply by cytrax_6969 | 2024-07-25 11:25:50

this is the convai Transcripy UI which i copied from the demo scene

Reply by k3kalinix | 2024-07-25 11:25:57

You have to check VR Demo scene

Reply by k3kalinix | 2024-07-25 11:26:05

This is for default demo scene.

Reply by cytrax_6969 | 2024-07-25 11:34:52

can you tell me where VR demo scene is located. I cant find that.

Reply by cytrax_6969 | 2024-07-25 11:34:58

Images:

Reply by k3kalinix | 2024-07-25 11:35:47

Wait, you didn’t install the VR package?
I thought you already did.

Reply by k3kalinix | 2024-07-25 11:36:15

Embedded Content:
Building for VR | API Docs
Building for VR - Unity Plugin Guide for VR development with Convai.
Link: Building for VR | Documentation

Reply by k3kalinix | 2024-07-25 11:36:25

Please follow this documentation and the video.

Reply by cytrax_6969 | 2024-07-25 11:36:38

I have downloaded XR package,

Reply by cytrax_6969 | 2024-07-25 11:36:42

ok i will check it out

Reply by cytrax_6969 | 2024-07-25 11:37:32

Can we install using this

Reply by cytrax_6969 | 2024-07-25 11:37:36

Images:

Reply by k3kalinix | 2024-07-25 11:37:49

Yes

Reply by cytrax_6969 | 2024-07-25 12:39:49

Can you tell me if i can disable the Chat Box. Like If i remove Convai Transcript UI from the Hierarchy. will it still work ?

Reply by k3kalinix | 2024-07-25 12:40:37

You must be an Enterprise/Partnership customer to remove the Convai Logo.

Reply by cytrax_6969 | 2024-07-25 12:42:35

ok

Reply by cytrax_6969 | 2024-07-25 12:47:07

Hey, Can you give me a solution to this problem. Suppose I have a Character which is already In the range of talking. If the Set The ChatBot Game Object Set Active False. Will it Still detect the Bot in range or not. Like I want to remove the Chat UI if the bot is not present. So will the Chat UI automatically disappear if the CHATBOT.SetActive is set to false and Reappear again if the CHATBOT.SetActive is set to true ?