public void startGame() { print("---------- { Game started } ----------"); dialogGameStart = GameObject.FindGameObjectWithTag("DialogStart"); dialogGameStart.SetActive(false); cameraMain = GameObject.FindGameObjectWithTag("MainCamera"); player.GetComponent <PlayerCore>().transform.position = new Vector3(0f, 0f, 0f); bots.Clear(); botFactory = GetComponent <BotFactory>(); botFactory.initBots(bots, 4); }