Unity networking, access online scenes variable in network manager

How can I access online scenes variable in network manager? I have main menu scene and there player chooses which map he wants, then he hosts server and I need to spawn him on chosen map, 68606-scr1.png

Is there any function like: networkManager.onlinescene(“somescene”); ?

  1. and also another question, if network manager is in main menu scene, how can I put Spawn points from another scene?

1.NetworkManager.onlineScene

2.Add a Empty GameObject in your “another scene” , add NetworkStartPosition Component and move its position to the spawn position.Player will be spawned at this position.
You cannot add spawn positions in network manager inspector.