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