Changing Position or Removing Chat Box UI from Unity

Reply by k3kalinix | 2024-07-25 12:49:46

When you enter the NPC’s speech range, the UI will automatically become active.

Reply by k3kalinix | 2024-07-25 12:50:13

I don’t quite understand your question.

Reply by cytrax_6969 | 2024-07-25 12:51:16

Images:

Reply by cytrax_6969 | 2024-07-25 12:51:22

Like This is the scene.

Reply by cytrax_6969 | 2024-07-25 12:52:26

Images:
image.png

Reply by cytrax_6969 | 2024-07-25 12:52:32

if i deactivate this

Reply by cytrax_6969 | 2024-07-25 12:52:36

will the UI dissappear

Reply by k3kalinix | 2024-07-25 12:52:55

I’m not sure what it is. You can test it.

Reply by cytrax_6969 | 2024-07-25 12:53:29

Ok.

Reply by cytrax_6969 | 2024-07-25 12:59:29

Ok i have done everything

Reply by cytrax_6969 | 2024-07-25 12:59:34

there is just 1 last error

Reply by cytrax_6969 | 2024-07-25 12:59:43

Images:

Reply by cytrax_6969 | 2024-07-25 13:00:07

object reference not set to instance of an object

Reply by k3kalinix | 2024-07-25 13:00:20

Please review the code.

Reply by k3kalinix | 2024-07-25 13:00:32

You should do a null check.

Reply by cytrax_6969 | 2024-07-25 13:36:20

i am unable to resolve this. I dont know where to do the Null check

Reply by cytrax_6969 | 2024-07-26 10:44:27

can you tell me where to check ?

Reply by k3kalinix | 2024-07-26 10:54:13

Double click on these errors.

Reply by k3kalinix | 2024-07-26 10:54:56

Then you will see the line.

Reply by cytrax_6969 | 2024-07-26 10:56:13

It goes to here