Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
glabute committed Jun 3, 2024
1 parent aa2b2c3 commit 94006de
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Unity.Cinemachine.Editor
static class SplineDataInspectorUtility
{
public delegate ISplineContainer GetSplineDelegate();
public delegate T GetDefaultValue<T>();
public delegate T GetDefaultValueDelegate<T>();

public static VisualElement CreatePathUnitField(SerializedProperty splineDataProp, GetSplineDelegate getSpline)
{
Expand Down Expand Up @@ -63,7 +63,7 @@ public static PropertyField CreateDataListField<T>(
SplineData<T> splineData,
SerializedProperty splineDataProp,
GetSplineDelegate getSpline,
GetDefaultValue<T> getDefaultValue = null)
GetDefaultValueDelegate<T> getDefaultValue = null)
{
var sortMethod = splineData.GetType().GetMethod("ForceSort", BindingFlags.Instance | BindingFlags.NonPublic);
var setDataPointMethod = splineData.GetType().GetMethod("SetDataPoint", BindingFlags.Instance | BindingFlags.Public);
Expand Down

0 comments on commit 94006de

Please sign in to comment.