Because the animation is on the key itself, not its parent, like the imported animations, you will tell the script to use the object if no parent has been assigned. This is done in the Start function, so the value is assigned as soon as the game starts.