Hello,
I am trying to access a script from inside the AILerp script. But it’s showing this error:
The type or namespace name ‘MapNodes’ could not be found (are you missing a using directive or an assembly reference?)
I think this is something to do with the namespace, but I don’t know much about namespace.
Here is my script:
void OnTriggerEnter2D(Collider2D other)
{
other.GetComponent<MapNodes>().GoToSelectedScene();
}
and error is showing on . How to access MapNodes?
Thanks.