Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
/// <summary> /// Takes user input to manipulate blocks. /// </summary> private void Update() { placeTimer -= Time.deltaTime; if (!PauseHandler.instance.paused && !GameManager.instance.isCountingDown) { SwitchBlock(); if (InputUtil.GetLeftMouse()) { PlaceBlock(); } else if (InputUtil.GetRightMouseDown()) { RemoveBlock(); } } }