Updated documentation, and made sure it is compatible with older versions of Unity.