- Home /
Error with Kimmons dialogue system/ Interface must be public or explicit
Hi just wondering if anyone can help me with this problem, I downloaded kimmons dialogue system which is brilliant and exactly what i need for my game, when testing the example that comes with the package everything worked fine but when I imported it into my existing game I got this error
Assets/Resources/Scripts/DialogueInstance.js(1,1): BCE0172: `UnityScript.Scripting.IEvaluationDomainProvider' interface member implementation must be public or explicit.
I'm not very good with reading errors and was just wondering if anyone could help me and tell me what this means and how I would fix this error. I hope someone can help as I really need this for my game. Thanks in advance
Answer by Statement · Mar 28, 2012 at 03:01 PM
Sounds like you are not providing a public implementation of some method defined in the interface. If you want it private, you have to explicitly define it.
Maybe you have some part of the code that reads
private function MethodName()
{
...
}
// But should be...
public function MethodName()
{
...
}
// or...
function BaseInterfaceType.MethodName()
{
...
}
Your answer
Follow this Question
Related Questions
KeyNotFoundException that makes no sense (*I* can find the key) 0 Answers
BCE0053: Property 'UnityEngine.Component.light' is read only. 1 Answer
Weird error while trying to call a void from another class 1 Answer
An instance of type 'UnityEngine.Component' is required to access non static member 1 Answer