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