private void OnStarCreation() { Debug.Log("ClearLevel -- OnStarCreation"); _numStarsLit++; if (_numStarsLit != totalStarNum) { return; } Debug.Log("equal"); OnLevelClear?.Invoke(); //TODO: implement me. //Delay until camera pans out of field //Invoke("DisableInnerFieldRender", 3); // The level clear screen needs to be delayed so that the camera has time to pan to the appropriate location, // and so that the player has enough time to see the constellation. Invoke(nameof(ShowClearMenu), 9); }
public void LevelCleared() => OnLevelClear?.Invoke();