protected virtual void OnLevelPassed() { if (LevelPassed != null) { LevelPassed.Invoke(this, EventArgs.Empty); } }
public void CheckLevelProress() { if (Utils.PickupSpawner.AllPickupsSpawned) { LevelPassed?.Invoke(); } }