Documentation

Unity Engine

Download Unity

Unity Engine

sceneLoadMode

The bodies and worlds destroyed when a scene loads in Single mode, as set in the project settings.
Read time 1 minuteLast updated a day ago

Definition

public static PhysicsWorld.SceneLoadMode sceneLoadMode { get; }

Remarks

This is the value of PhysicsCoreSettings2D.sceneLoadMode in the project settings, and you cannot change it from a script. See PhysicsWorld.SceneLoadMode for what each value does.