private void OnAsteroidDestroyed(AsteroidData data) { if (astDataCheck == data.scientificName) { uiFrame.CloseWindow("AstDataWindow"); } }