private void decorateWhenNonInterpolatable(SerializedProperty property) { bool anyTargetingNonInterpolatableValue = targets.Query().Any(t => !PropertySwitch.IsInterpolatable(t.propertyType)); if (anyTargetingNonInterpolatableValue) { EditorGUILayout.HelpBox("Non-interpolatable property types such as Bool or String " + "will ignore the Tween Time property.", MessageType.Info); } }
private bool shouldDrawInterpolationCurve() { return(targets.Query().Any(t => PropertySwitch.IsInterpolatable(t.propertyType))); }