// Update is called once per frame void Update() { if (GameManager.gameEnd) { return; } // Destroy after one full rotation if (orbiter.getRotationTotal() > 360 * 2 && !isDestroyed) { destroySelf(); } }