sceneLoadMode
The bodies and worlds destroyed when a scene loads in Single mode, as set in the project settings.
読み終わるまでの所要時間 1 分最終更新 12時間前
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
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.