30. saniyeye ulaştığında her 2sn de bir zombi doğmasını istiyorum onu naısl yapabilirim veya -30. saniyede olur
kod 0. saniyeden itibaren her 2saniyede bir mob yüklüyor sahneye onu 30. saniyeden itibaren yapmak istiyorum
nasıl yapabilirim

kod
           public GameObject mob;
           public float spawn = -2f;
           private float time;
       
           // Update is called once per frame
           void Update()
           {
               time -= Time.deltaTime;
               if (time < 0)
               {
                   Vector2 pos = new Vector2(Random.Range(14.4f, 14.4f), Random.Range(5.5f, -5.5f));
                   Instantiate(mob, pos, Quaternion.identity);
                   time = spawn;
               }
           }