文档

Unity Engine

Unity Engine

enabled

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

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
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.