private void OnBegin() { GetComponent <TransformComponent>(ref spawn_point); Timer = new Timer(2000.0f); // Hook up the Elapsed event for the timer. Timer.Elapsed += OnTimedEvent; Timer.AutoReset = true; Timer.Enabled = true; Timer.Start(); SLog.WriteLine("Begin"); }