Where to trigger protected override IEnumerator SwitchScene() Callback? it wont trigger by deafult.

Options

Actually i want to change scene through  protected override IEnumerator SwitchScene(SceneRef prevScene, SceneRef newScene, FinishedLoadingDelegate finished). but it wont triggering the scene change. how to do it?

Answers

  • Hi Sparasad,

    I'm not sure I understood what you're looking for, SwitchScene() is a coroutine on the default scene manager.

    The scene loading is triggered when the Host/Server calls Runner.SetActiveScene(sceneIndex).

    Can you elaborate a bit more on what you're trying to achieve?

    -----

    Isaac Augusto

    Photon Fusion Team