- Home /
Assets/Editor/CopyMoodBox.cs(7,12): error CS0246: The type or namespace name `MoodBoxData' could not be found. Are you missing a using directive or an assembly reference?
Assets/Editor/CopyMoodBox.cs(7,12): error CS0246: The type or namespace name `MoodBoxData' could not be found. Are you missing a using directive or an assembly reference?
and it says that all the compiling file error should be fixed
Are you serious? This isn't more information at all! This is exactly what comes up for every single compile error. '$$anonymous$$ore information' means script snippets, or filenames. You can't just post a vague error message and expect people to magically know what the problem is- each error message could be cause by several different things.
It seems that "Copy$$anonymous$$oodBox.cs" is part of AngryBots. It's an editor script (since it's located in an "editor" folder). You might have copyied just a part of the project and forgot some files...
I never looked into AngryBots, so i can't tell you more about that.
Answer by Kryptos · Jan 11, 2012 at 09:44 AM
This is a compilation error indicating that your project is missing a file describing the type MoodBoxData.
The filename is probably MoodBoxData.cs as it is good practice (and required most of the time) to match type and filename. Sometimes a class containing data (i.e. only variables and no or very few methods) is defined in the same file as the class using it (could be MoodBox.cs is your case).
Without more information about your problem, I cannot help you further.
And I have given you an answer. To help you further, we need to know what is $$anonymous$$oodBox? A plugin?
Answer by akale · Jan 12, 2016 at 04:56 PM
Make sure you have
using System.Collections;
At the top of your script
Your answer
Follow this Question
Related Questions
UNity ads (in windows build) gives error (error CS0246: The type or namespace name `ShowResult' ) 3 Answers
[Google Cardboard SDK] Error Importing Package CS0246 0 Answers
itween imports into compile errors 1 Answer
typedefing in unity 1 Answer
error CS0246: The type or namespace name `List' could not be found. 1 Answer