protected void onFixedUpdatePre() { //checks if health is full //if so then stop from picking up if (playerCon.isAmmoCountFull(isPrimary)) { canPickup = false; } else { canPickup = true; } }
protected void onFixedUpdatePre() { //checks if health is full //if so then stop from picking up if (playerCon.isAmmoCountFull(isPrimary)) { canPickup = false; } else { canPickup = true; } }