/// <summary> /// Generates the LODs for this object. /// </summary> /// <param name="statusCallback">The status report callback.</param> public void GenerateLODs(LODStatusReportCallback statusCallback = null) { if (levels != null) { LODGenerator.GenerateLODs(gameObject, levels, statusCallback); } generated = true; }
/// <summary> /// Resets the LODs for this object. /// </summary> public void ResetLODs() { LODGenerator.DestroyLODs(gameObject); generated = false; }