// Expectation is that a LoadAdditive or full scene change
// will follow that will call FadeOut after that scene loads.
}
/// <summary>
/// Called on clients when a scene has completed loaded, when the scene load was initiated by the server.
/// <para>Scene changes can cause player objects to be destroyed. The default implementation of OnClientSceneChanged in the NetworkManager is to add a player object for the connection if no player object exists.</para>
/// </summary>
/// <param name="conn">The network connection that the scene change message arrived on.</param>
publicoverridevoidOnClientSceneChanged()
{
// Only call the base method if not in a transition.
// This will be called from LoadAdditive / UnloadAdditive after setting isInTransition to false
// but will also be called first by Mirror when the scene loading finishes.
if(!isInTransition)
base.OnClientSceneChanged();
}
#endregion
#regionServerSystemCallbacks
/// <summary>
/// Called on the server when a client is ready.
/// <para>The default implementation of this function calls NetworkServer.SetClientReady() to continue the network setup process.</para>
/// </summary>
/// <param name="conn">Connection from client.</param>