Quantcast
Channel: Questions in topic: "namespace"
Viewing all articles
Browse latest Browse all 398

Namespace not found (again, sorry)

$
0
0
Ok, I have my games folder structure set out as follows: Assets/Scripts/Subfolder/script.cs Assets/AddinCompany/AddinName/Scripts/addinScript.cs Assets/AddinCompany/AddinName/Scripts/notTheAddinScript.cs The addinScript.cs is in the AddinCompany.AddinName namespace. I can use this namespace fine in notTheAddinScript.cs with a using declaration. However, if I try to use the same using declaration in script.cs, I get a type or namespace 'AddinCompany' could not be found. . How can I get this working please? (Preferably without moving the scripts location.)

Viewing all articles
Browse latest Browse all 398

Trending Articles