void Update() { if (spawnLvl) { spawnLvl = false; int expdiff = curThreshold - experience; Vector3 pos = drop.GetItem(expdiff).obj.transform.position; drop.Spawn(PickableItem.Type.LVL, pos, expdiff, true); } }