/// <summary> /// Count Down Process /// </summary> /// <returns></returns> private async UniTask <bool> DoCountDown() { var timer = 10f; m_text.Set((int)timer); while (timer > 0f) { m_text.Set((int)timer); #if !UNITY_EDITOR await UniTask.Delay(1000); #else await UniTask.Delay(100); #endif timer -= 1f; } return(true); }