public void ShowUnreachableTextShortly() { unreachableText.SetActive(true); StartCoroutine(DelayFunc.Invoke(() => { unreachableText.SetActive(false); }, 1.0f)); }
private void showSelectStartPointFirstTextShortly() { selectStartPointFirstText.SetActive(true); StartCoroutine(DelayFunc.Invoke(() => { selectStartPointFirstText.SetActive(false); }, 1.0f)); }
// Use this for initialization void Awake() { delayFunc = new DelayFunc(); input = GetComponent <InputManager>(); input.onTap += () => { CallEvent(); }; eventManager = new EventManager(GameObject.Find("EventChecker")); BuildScene(); SwitchMode("Search"); isGameOver = false; GameStart(); }