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

The type or namespace name `CnControls' does not exist in the namespace `UnityStandardAssets'. Are you missing an assembly reference?

$
0
0
I have downloaded an asset from unity store and successfully imported it. Unity has imported it inside the folder "Standard Assets". When I try to use asset's script in my code, it gives me namespace error. It is because either scripts of the external assets are not in correct folder, or I am using wrong namespace in my code. I have tried as: `using UnityStandardAssets.CnControls;` `using CnControls;` Structure of folder is as follows: **ProjectName > Assets > Standard Assets > CNControls > Scripts > {Files In folders}** I am using Unity 5.0.1 in windows 7. I have imported [this][1] package. Please tell what am I doing wrong? It may be very basic Question, I can be missing something. Any help appreciated. Thanks. [1]: https://www.assetstore.unity3d.com/en/#!/content/15233

Viewing all articles
Browse latest Browse all 398

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>