コード例 #1
0
ファイル: UIController.cs プロジェクト: 7-td/TD-game
 public void ShowUnreachableTextShortly()
 {
     unreachableText.SetActive(true);
     StartCoroutine(DelayFunc.Invoke(() =>
     {
         unreachableText.SetActive(false);
     }, 1.0f));
 }
コード例 #2
0
ファイル: UIController.cs プロジェクト: 7-td/TD-game
 private void showSelectStartPointFirstTextShortly()
 {
     selectStartPointFirstText.SetActive(true);
     StartCoroutine(DelayFunc.Invoke(() =>
     {
         selectStartPointFirstText.SetActive(false);
     }, 1.0f));
 }
コード例 #3
0
ファイル: Main.cs プロジェクト: webcyou/beaver_room
    // 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();
    }