sceneLoadMode
The bodies and worlds destroyed when a scene loads in Single mode, as set in the project settings.
읽는 시간 1분최근 업데이트: 5일 전
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.