public void Update() { pop.CallForRotation(); linesToDraw = pop.GetAllLines(); UpdateRenderers(); if (!pop.StillAlive()) { Restart(); } if (Input.GetButtonDown("Reset")) { Restart(); } }
public void Update() { pop.CallForRotation(); linesToDraw = pop.GetAllLines(); UpdateRenderers(); if (!pop.StillAlive()) { Restart(); } if (Input.GetButtonDown("Reset")) { Restart(); } }