I'm making tower defense game in unity. writing in c#. And I have gameObject Enemy which is using waypoints array to move along the map. I spawn thease enemy objects several times and they all move using the same waypoints array which is declared in separate class. I thought If I declare new private waypoints1 array inside enemy class. enemyies start to use waypoints1 array. And they did. But now they all are using the same waypoints1 array, becase it belongs to enemy class and they all are from the same class. So how can I declare Unique array for each member of enemy class ?
