I was trying to add an animation transition to my character so have written some code:
void Update() { Vector3 characterScale = tr