Updated sample to work with Unity 4.5