I am trying to make a simple following program. It looks like this
It kinda works, but I get this:
UnassignedReferenceException: The variable target of 'ai' has not been assigned. You probably need to assign the target variable of the ai script in the inspector. ai.Update () (at Assets/Enemy/ai.js:6)
asked May 12 '11 at 06:40 AM
It means you didn't assign a gameobject to your varaible "target". You need to assign it in Inspector or assign it at run-time in script.
answered May 12 '11 at 06:46 AM