private void InsectMiss(Insect insect) { if (insect.GetComponent <SafeInsect>()) { DangerInsectSmash(); } if (_isLevelComplete) { LevelComplete(); } }
private void SmashInsect(Insect insect) { if (insect.GetComponent <SafeInsect>()) { SafeInsectSmash(insect); } else { DangerInsectSmash(); } if (_isLevelComplete) { LevelComplete(); } }