void Start() { rb = GetComponent <Rigidbody> (); count = 0; SetCountText(); countdown = 20.0f; isGameOver = false; gameOverBoardManager = gameOverUIControllerObject.GetComponent <GameOverBoardManager>(); gameOverBoardManager.GameStart(); }
// Use this for initialization void Start() { isPlaying = true; gameOverBoardManager = gameOverUI.GetComponent <GameOverBoardManager>(); gameOverBoardAnimator = gameOverBoardManager.GetComponent <Animator>(); StartCoroutine(ShowMessageBoard(0)); countdown = countdownMinute * 60; //set Client Connect clientConnect = new ClientConnect(); clientConnect.serverAddress = "127.0.0.1"; clientConnect.port = 5381; Cursor.visible = false; }