// Update is called once per frame void Update() { timeToCreate.Update(); if (timeToCreate.IsLimitReached()) { createNewElement(); } }