Example #1
0
        private void ActiveBox_CheckedChanged(object sender, EventArgs e)
        {
            if (Teleporter == null)
            {
                return;
            }

            if (ActiveBox.Checked)
            {
                Teleporter.Activate();
            }
            else
            {
                Teleporter.Deactivate();
            }
        }