Updated to latest PlayCanvas API.