enabled
Allows you to enable or disable the LODGroup.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool enabled { get; set; }
Remarks
When enabled, the LODGroup manages which Renderer(s) to display or fade between based on the LOD settings assigned to the LODGroup. If you disable the LODGroup, it performs no action and all the Renderers in the group become enabled.