Class BuildContext
Assembly: YooAsset.Editor.dll
View Source
Declaration
public class BuildContext
Methods
ClearAllContext()
清空所有情景对象
View Source
Declaration
public void ClearAllContext()
SetContextObject(IContextObject)
设置情景对象
View Source
Declaration
public void SetContextObject(IContextObject contextObject)
Parameters
Type | Name |
---|---|
YooAsset.Editor.IContextObject | contextObject |
GetContextObject<T>()
获取情景对象
View Source
Declaration
public T GetContextObject<T>() where T : IContextObject
Returns
<T>
Type Parameters
T