private void OnTriggerEnter2D(Collider2D collider)
 {
     Debug.Log("Trigger");
     Debug.Log(collider.name);
     if (collider.tag == "fighter" || collider.tag == "servant")
     {
         var playerController = player.GetComponent <PlayerController>();
         playerController.enabled   = false;
         playerController.attatchTo = collider.gameObject;
         player.GetComponent <Rigidbody2D>().velocity = new Vector2(0, 0);
         collider.isTrigger = false;
         //UI
         statusBar.setEnemyIcon(collider.tag);
         statusBar.setButtons(collider.tag);
         //audio
         musicController.switchtarget();
     }
     if (collider.name == "wallTilemap")
     {
         Destroy(gameObject);
         Destroy(this);
     }
 }