I have a project. There is an unit with AILerp script which I am accessing from another script.
self.GetComponent(AILerp).enabled = false;
After upgrading, somehow I am getting Error: Unknown Identifier: ‘AILerp’
The method and script have remained unchanged. What change has caused this?
I am also noticing that the method can access every other script component in the unit, but not AILerp or Seeker (both of which are A* scripts).
Why are they inaccessible? The name is being correct with capitalization.