FadeCanvas error when trying to import Convai into existing Unity 2022.3.20f1 project

Reply by k3kalinix | 2024-10-09 22:30:06

Copy this Namespace

Reply by k3kalinix | 2024-10-09 22:30:25

.fadeCanvas

Replying to leean1’s Message

Reply by leean1 | 2024-10-09 22:17:15

Reply by k3kalinix | 2024-10-09 22:30:36

.

Reply by leean1 | 2024-10-09 22:31:35

So copy the namespace into the file I was getting the error from?

Reply by k3kalinix | 2024-10-09 22:32:32

Yes, but you need to do this for all FadeCanvas variables.

Reply by k3kalinix | 2024-10-09 22:32:35

Or

Reply by leean1 | 2024-10-09 22:34:08

So do I need to add a line like this? using Convai.Scripts.Runtime.UI.fadeCanvas;

Reply by k3kalinix | 2024-10-09 22:34:37

Can you please share the full code?

Reply by leean1 | 2024-10-09 22:34:47

For which file?

Reply by k3kalinix | 2024-10-09 22:34:56

Notification

Reply by leean1 | 2024-10-09 22:35:36

Attachments:

Reply by k3kalinix | 2024-10-09 22:40:18

using FadeCanvas = Convai.Scripts.Runtime.UI.FadeCanvas;

Reply by k3kalinix | 2024-10-09 22:40:25

Can you add that?

Reply by leean1 | 2024-10-09 22:41:10

I get this ssets\Convai\Scripts\Runtime\Addons\NotificationSystem\UINotificationController.cs(61,17): error CS0576: Namespace ‘’ contains a definition conflicting with alias ‘FadeCanvas’

Reply by k3kalinix | 2024-10-09 22:42:02

I’m on the phone right now, I can’t write exactly…

Reply by k3kalinix | 2024-10-09 22:42:06

Best way

Reply by k3kalinix | 2024-10-09 22:42:32

Convai.Scripts.Runtime.UI._fadeCanvas;

Reply by k3kalinix | 2024-10-09 22:42:55

IDE should recommend the solution

Reply by leean1 | 2024-10-09 22:45:31

I will change the code use of FadeCanvas to Convai.Scripts.Runtime.UI.FadeCanvas directly

Reply by k3kalinix | 2024-10-09 22:45:53

Ok