| ASLHelperSendAndSetNewScene Method |
Change scene for all players. This function is called by a user.
Namespace:
ASL
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static void SendAndSetNewScene(
string _sceneName,
GameLiftManagerOpFunctionCallbackNoParam callback = null
)
Public Shared Sub SendAndSetNewScene (
_sceneName As String,
Optional callback As GameLiftManagerOpFunctionCallbackNoParam = Nothing
)
public:
static void SendAndSetNewScene(
String^ _sceneName,
GameLiftManagerOpFunctionCallbackNoParam^ callback = nullptr
)
static member SendAndSetNewScene :
_sceneName : string *
?callback : GameLiftManagerOpFunctionCallbackNoParam
(* Defaults:
let _callback = defaultArg callback null
*)
-> unit
Parameters
- _sceneName
- Type: SystemString
The name of the scene to change to - callback (Optional)
- Type: ASLGameLiftManagerOpFunctionCallbackNoParam
[Missing <param name="callback"/> documentation for "M:ASL.ASLHelper.SendAndSetNewScene(System.String,ASL.GameLiftManager.OpFunctionCallbackNoParam)"]
Examples void SomeFunction()
{
ASL.ASLHelper.SendAndSetNewScene("YourSceneName");
}
See Also