public void UseItem() { if (currentItenIndex == 0) { if (PlayerGlobalStatus.IsThereBomb()) { UseBomb(); } } else if (currentItenIndex == 1) { if (PlayerGlobalStatus.IsThereShield() && canUseShieldAgain) { UseShield(); } } }