private void OnTriggerEnter2D(Collider2D collision)
 {
     rpg.PlayerManager pm = collision.GetComponent <rpg.PlayerManager>();
     if (pm)
     {
         target.SetActive(switchOn);
     }
 }