sceneLoadMode
The bodies and worlds destroyed when a scene loads in Single mode, or when you open a scene in the Editor.
読み終わるまでの所要時間 1 分最終更新 18時間前
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public PhysicsWorld.SceneLoadMode sceneLoadMode { get; set; }
Remarks
A body or world owned by a GameObject that the load keeps, or by a component on one, is never destroyed. See PhysicsWorld.SceneLoadMode for what each value does and which GameObjects the load keeps.