void Spawn(LocationEntrance spawnPoint) { PlayerCharacter pc = InstantiatePlayer(spawnPoint.transform); _playerCharacterAnchor.SetReference(pc); spawnPoint.RunPlayerSpawnSequence(pc, HandleSpawnSequencesFinished); }
void Spawn(LocationEntrance spawnPoint) { PlayerCharacter pc = Instantiate(_playerPrefab, spawnPoint.transform.position, _playerPrefab.transform.rotation); spawnPoint.RunPlayerSpawnSequence(pc, HandleSpawnSequenceFinished); }