예제 #1
0
 private void OnTriggerEnter2D(Collider2D other)
 {
     if (other.GetComponent <PlayerMovement>())
     {
         goblinBoss.GetComponent <Animator>().SetTrigger("Start");
         bossCanvas.SetActive(true);
         playerSoundManager.SetBackTheme(newBackTheme);
         Destroy(gameObject);
     }
 }