unity 4 obsoleting some animation code