// Use this for initialization
        void Start()
        {
            m_Timer = GetComponent<CoroutineTimer>();
            m_SpawnPoints = GameObject.FindGameObjectsWithTag(m_SpawnPointTag);

            m_Timer.RegisterCallback(spawn);
            m_Timer.StartTimer();
        }
 void OnEnable()
 {
     m_Timer = GetComponent<CoroutineTimer>();
 }