Example #1
0
        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);
            }
        }
Example #2
0
 private bool shouldDrawInterpolationCurve()
 {
     return(targets.Query().Any(t => PropertySwitch.IsInterpolatable(t.propertyType)));
 }