diff --git a/Runtime/Scripts/Effects/CurlyUI/CUIGraphic.cs b/Runtime/Scripts/Effects/CurlyUI/CUIGraphic.cs index e574d38..45fbb38 100644 --- a/Runtime/Scripts/Effects/CurlyUI/CUIGraphic.cs +++ b/Runtime/Scripts/Effects/CurlyUI/CUIGraphic.cs @@ -512,9 +512,7 @@ public void ReferenceCUIForBCurves() // use tangent and start and end time to derive control point 2 and 3 } -#if UNITY_6000_6_OR_NEWER - [System.Obsolete("Use Refresh() instead.")] -#endif +#if !UNITY_6000_6_OR_NEWER public override void ModifyMesh(Mesh _mesh) { @@ -528,6 +526,7 @@ public override void ModifyMesh(Mesh _mesh) } } +#endif public override void ModifyMesh(VertexHelper _vh) {