Example #1
0
 /// <summary>
 /// validation checks to make sure the target has a valid property with an accessible setter
 /// </summary>
 public override bool validateTarget(object target)
 {
     // cache the setter
     if (_setter == null)
     {
         _setter = GoTweenUtils.setterForProperty <Action <Vector3> >(target, propertyName);
     }
     return(_setter != null);
 }
Example #2
0
 public override bool validateTarget(object target)
 {
     _setter = GoTweenUtils.setterForProperty <Action <float> >(target, propertyName);
     return(_setter != null);
 }