Cocos Creator Editor 生成uuid

let uuid=Editor.Utils.UuidUtils.uuid();
let decompressUuid=Editor.Utils.UuidUtils.decompressUuid(uuid);
Editor.log(uuid);//45p/Kon2hGs7gjNzbB8Xgg
Editor.log(decompressUuid);//45a7f2a8-9f68-46b3-b823-3736c1f17820
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章