Updated with Unity 4.6.