private void UseBomb() { GameObject bomb = Instantiate(PlayerGlobalStatus.GetBomb(), transform.position, Quaternion.identity); bomb.GetComponent <Rigidbody2D>().velocity = Vector2.up * 5f; bomb.GetComponent <Bomb>().TriggerExplosionCoroutine(); PlayerGlobalStatus.RemoveBomb(); uiManagement.UpdateItenIcon(currentItenIndex); }