void Update()
 {
     if (holderAndRef.childCount == 0)
     {
         if (++processIndex >= timeToProcess)
         {
             //SPAWN
             Vector3 offset = new Vector3(0, 0.75f, 0);
             for (int i = 0; i < generatedAmount; ++i)
             {
                 rManager.postPushCrate(spawnCrate(offset));
                 offset += 1.2f * holderAndRef.forward;
             }
             processIndex = 0;
         }
     }
 }