Hello...Excuse Me...I need help...I am a begginer..
I want to make a game like this...
While an NPC is walking...and suddenly it watches an Enemy NPC....
The NPC start to Attck the Enemy NPC, and when the Enemy NPC is dead,
a NPC start to walk again..
But In Unity Editor...with These Script...Suddenly game stops,
when the EnemyNPC is dead, the gmae stops..
and the error message is " target Object is destoyed, buy you are still try to access it."(=WithinSight.script)
I want to make a game like this...
While an NPC is walking...and suddenly it watches an Enemy NPC....
The NPC start to Attck the Enemy NPC, and when the Enemy NPC is dead,
a NPC start to walk again..
But In Unity Editor...with These Script...Suddenly game stops,
when the EnemyNPC is dead, the gmae stops..
and the error message is " target Object is destoyed, buy you are still try to access it."(=WithinSight.script)
|
Last edited by a moderator: