Why does it say The type or namespace 'BoardManager' could not be found. Are you missing 'Completed' using directive?
I was watching part 5 of the tutorial 2D Roguelike tutorial and I got the error:
The type or namespace 'BoardManager' could not be found. Are you missing 'Completed' using directive?
I had all of the code from previous videos and that video.
Here are some screenshots of the error:
Answer by UnityCoach · Apr 14, 2017 at 04:28 PM
It tells you that BoardManager class/type is unknown. If you have a BoardManager class, it may be declared inside a namespace. If so, you must add
using nameofthenamespace;
at the beginning of your script.
Is this what you mean?
Sorry I am new to Unity and I am not sure what to do.
No, I mean that Board$$anonymous$$anager may be in a namespace. If it's a $$anonymous$$onoBehaviour, you should find it easily in the project, as it should be Board$$anonymous$$anager.cs. If it's something like
namespace $$anonymous$$yProject
{
public class Board$$anonymous$$anager : $$anonymous$$onoBehaviour
{
//
}
}
then you must add
using $$anonymous$$yProject;
at the beginning of the other scripts that use it.
Your answer
Follow this Question
Related Questions
Dialogue script shows previous sentences after a while 0 Answers
Main Menu Help! 1 Answer
How do I make the character rotate with the 2D camera? 0 Answers
No overload for method. 1 Answer
Dialogue script shows previous sentences after a while 0 Answers