// Update is called once per frame void Update() { // ------------------ Appliance Update Functions ------------------ // theSlicer.SlicerUpdate(); theBlender.BlenderUpdate(); theOrb.Update(); theCatcher.Update(); theCanon.Update(); theVendor.Update(); // ---------------------------------------------------------------- // // Ingredient spawner update. // if (isSpawningIngredient == true) { ingredientSpawnTimer += Time.deltaTime; if (ingredientSpawnTimer >= ingredientSpawnerLength) { ingredientSpawnTimer = 0; isSpawningIngredient = false; SpawnIngredient(); cachedIngredientToSpawn = null; } } }