The type or namespace name `CnControls' does not exist in the namespace `UnityStandardAssets'. Are you missing an assembly reference?
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 package. Please tell what am I doing wrong? It may be very basic Question, I can be missing something. Any help appreciated. Thanks.
I'm having the same error after importing package...... I don't know what to do.... But i guess its because of corrupted files!!!!
Answer by effx · Dec 22, 2016 at 01:30 AM
Hi,
I had the same issue. I got it to work after I followed these instructions given by the developer on the Asset Store.
If you are updating, follow these steps exactly: 1. Open a new scene 2. Delete CNControls folder 3. Import the package
Hope this helps!