04-14-2015, 02:36 PM
Hi,
got several calls, all taking a large amount of resources according to the profiler :
CurvySpline._RefreshHierarchy --> List.Sort
My game is always getting laggy at this call, kind of problematic.
Seems that this line in CurvySpline.cs is the culprit :
mControlPoints.Sort((a, b) => string.Compare(a.name, b.name));
Is there a workaround ? Tried to comment this line, but obviously nothing works anymore
got several calls, all taking a large amount of resources according to the profiler :
CurvySpline._RefreshHierarchy --> List.Sort
My game is always getting laggy at this call, kind of problematic.
Seems that this line in CurvySpline.cs is the culprit :
mControlPoints.Sort((a, b) => string.Compare(a.name, b.name));
Is there a workaround ? Tried to comment this line, but obviously nothing works anymore
