FloatTweenProperty.validateTarget C# (CSharp) Method

validateTarget() public method

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