public void startCountDown() { if (state == countDowndStates.WAITING) { state = countDowndStates.INPROGRESS; } StartCoroutine(showLastMessage()); }
private void finish() { state = countDowndStates.FINISHED; gameObject.SetActive(false); }
void Start() { textUI = GetComponent <Text>(); state = countDowndStates.WAITING; }