diff --git a/Assets/FishNet/Plugins/Alven/SessionManagement/Runtime/Components/SessionPlayerSpawner.cs b/Assets/FishNet/Plugins/Alven/SessionManagement/Runtime/Components/SessionPlayerSpawner.cs index f2f1738..6b4c70e 100644 --- a/Assets/FishNet/Plugins/Alven/SessionManagement/Runtime/Components/SessionPlayerSpawner.cs +++ b/Assets/FishNet/Plugins/Alven/SessionManagement/Runtime/Components/SessionPlayerSpawner.cs @@ -29,6 +29,11 @@ public class SessionPlayerSpawner : MonoBehaviour [SerializeField] private NetworkSessionObject _playerPrefab; /// + /// Sets the PlayerPrefab to use. + /// + /// + public void SetPlayerPrefab(NetworkSessionObject nob) => _playerPrefab = nob; + /// /// True to add player to the active scene when no global scenes are specified through the SceneManager. /// [Tooltip("True to add player to the active scene when no global scenes are specified through the SceneManager.")]