Can't find Dialog class in RPG.Dialog

When trying to cast as Dialogue I received the following error:
error CS0118: ‘Dialogue’ is a namespace but is used like a type

I changed the namespace to be RPG.Dialogs, but now it can’t find the Dialog class within that name space. The Dialog class is public, within the namespace RPG.Dialogs, and the editor is in the RPG.Dialogs.Editor namespace.

Hi Jeffa,
It sounds like something is misspelled or has the wrong access level.
Post your Dialogue.cs here, and also post whatever method is trying to perform the cast, so we can take a look at how it’s beeing called. Don’t forget to format the code with the </> button.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms