static public bool hit(GameObject go) { if (go.GetComponentInChildren <TextMesh>().text.Length == 1) { go.GetComponentInChildren <TextMesh>().text = "=_="; Destroy(go, 2f); enemyShips.Remove(go); if (enemyShips.Count <= 12) { for (int i = 0; i < stage; i++) { EnemiesManager.MakeRandomShip(dropedEnemies++); } stage++; } return(true); } go.GetComponentInChildren <TextMesh>().text = go.GetComponentInChildren <TextMesh>().text.Substring(1); return(false); }