private void Start() { foreach (var area in gameAreas) { area.Init(gameSystems.GetEnemiesPool()); } player = Instantiate(playerSpawnInfo.player, playerSpawnInfo.spawnTransform.position, playerSpawnInfo.spawnTransform.rotation); GameObject.FindGameObjectWithTag(Tags.GAME_CAMERA).GetComponent <GameCamera>().SetPlayer(player.transform); player.Setup(gameSystems.GetInputsLibrary(), gameSystems.GetProjectilesPool(), gameSystems.GetAbilitiesLibrary()); player.Init(); player.Enable(); InitComponents(); }