文档

Unity Engine

Unity Engine

GeneratorInstance.CreationParameters

Parameters controlling how a GeneratorInstance is created.
阅读时间1 分钟最后更新于 1 个月前

Definition

public struct GeneratorInstance.CreationParameters

Remarks

Owns the cross-cutting update behaviour shared by all scriptable processors directly, plus any construction arguments that only make sense for a GeneratorInstance. Pass this to ControlContext.AllocateGenerator; the implicit conversion from ProcessorInstance.CreationParameters keeps existing call sites working.

Properties

Property

Description

controlUpdateSettingControl under what circumstances ProcessorInstance.IControl<TRealtime>.Update will be called.
realtimeUpdateSettingControl under what circumstances ProcessorInstance.IRealtime.Update will be called.