示例#1
0
    private void Die()
    {
        Shoot_ScoreCal score = SceneController.Level_Current.GetComponent <Shoot_ScoreCal>();

        if (score != null)
        {
            score.Ellic_KnockDown();
        }
        Destroy(this.gameObject);
    }
示例#2
0
 private void Escape()
 {
     if (m_life > 0)
     {
         Shoot_ScoreCal score = SceneController.Level_Current.GetComponent <Shoot_ScoreCal>();
         if (score != null)
         {
             score.Ellic_Escape();
         }
         Destroy(this.gameObject);
     }
 }