コード例 #1
0
 public static void SetEnabled(this LODGroup lodGroup, bool enabled)
 {
     if (lodGroup.enabled != enabled)
     {
         lodGroup.enabled = enabled;
         lodGroup.SetRenderersEnabled(enabled);
     }
 }