Beispiel #1
0
 /// <summary>
 /// Draws the property to the inspector on editor updates
 /// </summary>
 /// <param name="position">Position to draw the property field</param>
 /// <param name="property">Property field to draw</param>
 /// <param name="label">Label defining the title and tooltip</param>
 public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
 {
     PropertyConverter.DrawOnGUI <SmoothWaypointConverter, V>(this, GetConverterInstance(property, label, attribute), position, property, label, (pc) => pc.viewerGUI[SmoothWaypointConverter.SmoothWaypointID.CurveScales].property);
 }