private void Die() { Shoot_ScoreCal score = SceneController.Level_Current.GetComponent <Shoot_ScoreCal>(); if (score != null) { score.Ellic_KnockDown(); } Destroy(this.gameObject); }
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); } }