Player Spawner
Info
Player Spawner Service is used to spawn player in the city.
- Available spawn types:
NPC: spawns the Player NPC.
Car: spawns the Player Car.
Free fly camera : spawns free fly camera (should be set in the General Settings)
Where To Find
How To Use
Create Player NPC & Player Car.
Select spawn type.
How To Replace
You can replace spawner by your own solution. By default, Player Spawner Service implements IPlayerSpawnerService interface & called by PlayerSpawnCommand.cs script, create your own Monobehaviour class that implements IPlayerSpawnerService & assign here:
Steps
Find on the scene PlayerInstaller:
Assign Player Spawner Service: