private void _LevelUp() { DebugLogger.WriteInfo("_LevelUp _levelNumber = {0}", _levelNumber); _reveal1.gameObject.SetActive(true); _reveal2.gameObject.SetActive(true); if (_cursorScript != null) { _cursorScript.gameObject.SetActive(false); } StartCoroutine(EGHelpers.Move(_reveal1, -5.0f, _LevelUpEnd)); StartCoroutine(EGHelpers.Move(_reveal2, 5.0f)); }
private IEnumerator _LevelUpEndCoroutine() { DebugLogger.WriteInfo("_LevelUpEndCoroutine"); _MenuOnOff(false); _LevelOn(); _stageText.text = String.Format("STAGE {0}", _levelNumber); _stageText.enabled = true; _canvas.sortingOrder = 3; yield return(new WaitForSeconds(1)); _stageText.enabled = false; _canvas.sortingOrder = 0; StartCoroutine(EGHelpers.Move(_reveal1, 5.0f, _LevelStartEnd)); StartCoroutine(EGHelpers.Move(_reveal2, -5.0f)); }