s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Globals
Game
ChangeScene
chevron_left
Globals
class
Game
search
Static Properties
data_object
ActiveScene
data_object
AppId
data_object
CheatsEnabled
data_object
Cookies
data_object
Ident
data_object
InGame
data_object
IsClosing
data_object
IsEditor
data_object
IsMainMenuVisible
data_object
IsPaused
data_object
IsPlaying
data_object
IsRecordingVideo
data_object
IsRunningInVR
data_object
IsRunningOnHandheld
data_object
Language
data_object
PhysicsTrace
data_object
Random
data_object
SceneTrace
data_object
SteamId
data_object
TypeLibrary
Static Methods
functions
ChangeScene
functions
Close
functions
CreateWebSurface
functions
Disconnect
functions
Load
functions
SetRandomSeed
functions
TakeHighResScreenshot
functions
TakeScreenshot
ChangeScene
Change the active scene and optionally bring all connected clients to the new scene (broadcast the scene change.) If we're in a networking session, then only the host can change the scene.
method
static
static
bool
ChangeScene
(
SceneLoadOptions
options
)
Parameters
Name
Type
Description
options
SceneLoadOptions
The
to use which also specifies which scene to load.
Returns
Type
Description
bool
Whether the scene was changed successfully.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.