Page 1 of 1

About namespace acceessibility

Posted: Tue May 10, 2022 9:18 am
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!

Re: About namespace acceessibility

Posted: Tue May 10, 2022 9:48 am
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.

Re: About namespace acceessibility

Posted: Tue May 10, 2022 5:22 pm
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!

Re: About namespace acceessibility

Posted: Tue May 10, 2022 8:06 pm
by Tony Li
Glad to help!

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