# Egret 學習資源 --- 1. [官方教學](http://developer.egret.com/cn/example/egret2d/index.html) 2. anchorOffsetX不會正規化到0~1 3. [Egret事件](http://developer.egret.com/cn/apidoc/index/name/egret.Event) 4. eui.UILayer : 通常拿來當根節點使用 類似Unity的滿版 5. eui.Component : 設定skinName後可與skin檔案(.exml)做連動 6. [TypeScript基礎](https://magiclen.org/typescript-concepts/) 7. 點選default.res.json才可開啟Res Editor 8. 可利用Resource Group一次讀取整組資源 `RES.addEventListener(RES.ResourceEvent.GROUP_COMPLETE, this.onResourceLoadComplete, this);` `RES.loadGroup("Buttons");` 9. [TypeScript型別](https://www.typescriptlang.org/docs/handbook/basic-types.html) 10. egret.log 在index.html內的 `data-show-log` 打開的情況下,可以輸出log到瀏覽器畫面上 11. egret上對exml檔右鍵Rename,不會連動到Skin檔案的class名稱! --- ###### tags: `Egret`