void Receive(PlanetPacket p0, PlanetPacket p1) { planets[0].transform.position = p0.GetCoordinates(); planets[1].transform.position = p1.GetCoordinates(); incomingDate = p0.GetDate(); date.text = p0.GetDate(); }
void Receive(PlanetPacket p0, PlanetPacket p1) { positionsQueue.Enqueue(new Vector3[] { p0.GetCoordinates(), p1.GetCoordinates() }); }