To create scene ready for multiplayer usage by Photon – it is similar to setting up a regular scene.
Open scene requirement setup window by clicking on
'Tools/Combat Framework/Setup Scene Requirements'.
That will open the scene setup window with new 'Photon' checkbox.
Choose the type of player, tick 'Create Basic UI' to create basic UI elements if wished, Tick 'Photon' checkbox and click on 'Create'.
That will add the necessary objects and components required for Photon multiplayer to function.
Along with the usual scene controller object and canvas object – 'PhotonScene' object is created.
In multiplayer, instead of scene controller object, 'PhotonScene' component on 'PhotonScene' object will manage player spawning and scene loading ( lobby ).
Assign lobby scene name to 'Lobby Scene Name' field and assign player prefab in 'Player Prefab' field.
Next, create spawn point/s for the player to spawn when arriving in room scene.
The spawn point is created by placing an object on the scene and dragging 'SpawnPoint' script onto it.
'SpawnScript' can be found in 'Photon/scripts/SpawnPoint.cs'.