/// <summary> /// This function called when player moved. /// </summary> private void OnMoved() { bomb.DecreaseCounter(); if (bomb.Counter <= 0) { Exploded?.Invoke(); GameManager.Instance.GameOver(1); } }
/// <summary> /// This function called when player moved. /// </summary> private void OnMoved() { bomb.DecreaseCounter(); if (bomb.Counter <= 0) { Exploded?.Invoke(); GameManager.Instance.GameOver(1); } }