文档

Unity Engine

Unity Engine

enabled

Pauses culling group execution.
阅读时间1 分钟最后更新于 2 天前

Definition

public bool enabled { get; set; }

Remarks

No events will be sent when the culling group is disabled. No state is cleared when disabling the culling group thus when you re-enable it, it will send visibility events relative to the last frame it was active on.