cara chceck untuk tag di pemicu masukkan 2D Unity

if(target.tag == "Player")
     {
         Destroy(this.gameObject);
     }
Dull Dingo