示例#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)));
 }