Example #1
0
    void OnBaseTimerReady(BaseTimer timer)
    {
        if (CSMain.s_MgCreator.Assembly != null && CSMain.s_MgCreator.Assembly.Data.m_Durability > PETools.PEMath.Epsilon)
        {
            if (timer.spawnId > 0)
            {
                ID    = timer.spawnId;
                Delay = timer.delayTime;
                SpawnAutomatic(timer.currentWave);

                GameTime.ClearTimerPass();
            }
        }
    }