private void Start() { PausePanel.SetActive(false); ClearPanel.SetActive(false); OverPanel.SetActive(false); gamePanelCanvasGroup = PausePanel.transform.parent.GetComponent <CanvasGroup>(); }
private void Update() { if (killCt == SpawnCount && !isClear) { ClearPanel.SetActive(true); isClear = true; StartCoroutine(Delay()); } }
public void OpenClearPanel() => ClearPanel.SetActive(true);