기술 자료

Unity Engine

Download Unity

Unity Engine

PhysicsSceneLoadScope

Scope used during scene load operations such as SceneManager.LoadSceneAsync, with the purpose of providing a different physics scene than the global one. public class SimpleLoader: MonoBehaviour { IEnumerator Start() { int buildIndex0 = 0; int buildIndex1 = 1; var newScene =
읽는 시간 1분최근 업데이트: 4일 전

Definition

public struct PhysicsSceneLoadScope : IDisposable

Constructors

Constructor

Description

PhysicsSceneLoadScope(UnityEngine.PhysicsScene)Construct a new physics scene loading scope.

Properties

Property

Description

sceneThe physics scene used within this scope.

Methods

Method

Description

DisposeDispose of the current physics scene loading scope.