Skip to main content
Version: 2.1.x

Class SceneOperationHandle

Assembly: YooAsset.dll
View Source
Declaration
public class SceneOperationHandle : OperationHandleBase, IEnumerator

Properties

SceneObject

场景对象

View Source
Declaration
public Scene SceneObject { get; }

Methods

ActivateScene()

激活场景

View Source
Declaration
public bool ActivateScene()
Returns

System.Boolean

IsMainScene()

是否为主场景

View Source
Declaration
public bool IsMainScene()
Returns

System.Boolean

UnloadAsync()

异步卸载子场景

View Source
Declaration
public UnloadSceneOperation UnloadAsync()
Returns

YooAsset.UnloadSceneOperation

Events

Completed

完成委托

View Source
Declaration
public event Action<SceneOperationHandle> Completed
Event Type

System.Action<YooAsset.SceneOperationHandle>

Implements

  • System.Collections.IEnumerator