Beispiel #1
0
 private void OnTriggerEnter2D(Collider2D other)
 {
     if (other.tag == "NormalStar")
     {
         _sceneController._IsClear = false;
         _sceneController.FadeOutFlag();
         _seManager.DieSE();
     }
 }
 private void OnTriggerEnter2D(Collider2D collision)
 {
     if (collision.tag == "Player")
     {
         _sEManager.DieSE();
         _sceneController._IsClear = false;
         _sceneController.FadeOutFlag();
     }
 }