About namespace acceessibility

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Pamdo
Posts: 4
Joined: Mon Jan 24, 2022 1:50 pm

About namespace acceessibility

Post by Pamdo »

Hi Tony! I have a question about access global namespace from PixelCrushers.DialogueSystem. Wrappers namespace. When I use global:: keyword can't see any global namespace script on VSCode. Do you have any advice or is this a bug?

Thanks for answer!
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: About namespace acceessibility

Post by Tony Li »

Hi,

It's not a bug in the Dialogue System, but it could be a bug in Unity's VS Code integration. In the Unity editor, select Edit > Preferences. On the External Tools tab, click Regenerate Project Files.

If that doesn't fix it, check if you're using assembly definition files. If so, make sure your code has access to the Dialogue System's asmdefs.
Pamdo
Posts: 4
Joined: Mon Jan 24, 2022 1:50 pm

Re: About namespace acceessibility

Post by Pamdo »

First of all thanks for the advices Tony.
I can't access public script beacause of plugins file. I miss out. :D
When i change script location everything's work fine!
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: About namespace acceessibility

Post by Tony Li »

Glad to help!

Here's info about Unity's special folders, including Plugins: https://docs.unity3d.com/Manual/ScriptC ... lders.html
Post Reply