//Call pikes in room private void AddPikes() { for (int i = 0; i < _rooms.Count; i++) { RoomInstance script = _rooms[i].GetComponent <RoomInstance>(); script.AddPikes(); } }
//Call pikes in room private void AddPikes() { for (int i = 0; i < _rooms.Count; i++) { RoomInstance script = _rooms[i].GetComponent <RoomInstance>(); script.AddPikes(); } }