protected void UpdateColorsImpl() { #if UNITY_EDITOR // This can happen with prefabs in the inspector if (meshColors == null || meshColors.Length == 0) return; #endif SetColors(meshColors); mesh.colors = meshColors; }