void resetAFterCounting() { if (i_ElementManager.IsCounting) { Debug.Log("still in counting"); return; } i_ElementManager.ClearField(); gameStateNow = gameState.idle; mainButton.GetComponentInChildren <Text>().text = "Start"; }