Animation& does not contain a definition for &GetCurrentAnimatorStateInfo and no accessible extension method GetCurrentAnimatorStateInfo accepting a first argument of type ;Animation; could be found (are you missing a using directive or an assembly reference?)
