Added support for float and int types for animator's valueFrom/valueTo.