// Update is called once per frame void Update() { if (Input.GetMouseButtonDown(0)) { if (bombActived) { RaycastHit hit; if (Physics.Raycast(Camera.main.ScreenPointToRay(Input.mousePosition), out hit, 100)) { ECSBootstrapper.bombPosition(hit.point); //Debug.Log(hit.point); } } } if (Input.GetKeyDown(KeyCode.Escape)) { if (ECSBootstrapper.Cleanup()) { Application.Quit(); } } }
public void Confirm() { if (numberofPeople > 0) { ECSBootstrapper.spawnPeople(numberofPeople); } }
public void startInfection() { ECSBootstrapper.startInfection(infectionRate, killingDay); }