Adventure Creator  1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
AC.PlayerSpawner Class Reference
Inheritance diagram for AC.PlayerSpawner:

Public Member Functions

void ReleaseHandle (PlayerPrefab playerPrefab)
 
IEnumerator PreparePlayer ()
 
void SpawnPlayer (PlayerPrefab playerPrefab, System.Action< Player > callback)
 
IEnumerator LoadPlayerHandle (PlayerPrefab playerPrefab)
 
Player GetPlayerAsset (PlayerPrefab playerPrefab)
 
IEnumerator SpawnPlayerCo (PlayerPrefab playerPrefab, System.Action< Player > callback)
 
void UpdatePlayerPresenceInScene (PlayerData playerData, System.Action callback)
 
IEnumerator UpdatePlayerPresenceInSceneCo (PlayerData playerData, System.Action callback)
 
IEnumerator SpawnPlayerIfFollowingActive (PlayerData playerData)
 

Member Function Documentation

◆ UpdatePlayerPresenceInSceneCo()

IEnumerator AC.PlayerSpawner.UpdatePlayerPresenceInSceneCo ( PlayerData  playerData,
System.Action  callback 
)

Updates the Player's presence in the scene. According to the data set in this class, they will be added to or removed from the scene.