I’m on page 371. I put all the code in LevelEditor.cs.
All seems working (the json file is create in asset folder)
but monoDevelop tells me that the line “var ldr = new LevelDataRepresentation ();”
had an error CS0103 : The name LevelDataRepresentation does not exist in the current context.
Someone know what this means ?
Hi @tekodragoon,
Have you checked the class name for your LevelDataRepresentation.cs file is named exactly that? (LevelDataRepresentation)
I would check that first. If that doesn’t help, have you tried taking a look at the final project files for the chapter? The error shouldn’t be present in that project and you could open it side-by-side with your project to check your class files are correct.
Sean