15 protected SCR_BaseDeployableSpawnPointComponent m_DeployableSpawnPointComp;
18 override void OnFinalizeSpawnDone_S(SCR_SpawnRequestComponent requestComponent,
SCR_SpawnData data, IEntity entity)
20 super.OnFinalizeSpawnDone_S(requestComponent,
data, entity);
26 int userID = playerManager.GetPlayerIdFromControlledEntity(entity);
29 if (s_OnPlayerSpawned)
30 s_OnPlayerSpawned.Invoke(
this, userID);
34 void SetDeployableSpawnPointComponent(SCR_BaseDeployableSpawnPointComponent spawnPointComp)
36 m_DeployableSpawnPointComp = spawnPointComp;
40 SCR_BaseDeployableSpawnPointComponent GetDeployableSpawnPointComponent()
42 return m_DeployableSpawnPointComp;
48 if (!s_OnPlayerSpawned)
51 return s_OnPlayerSpawned;