Commit dd920818 authored by wildfirecode13's avatar wildfirecode13

Update README.md

parent 52397123
......@@ -2,4 +2,14 @@
http://gitlab2.dui88.com/wanghongyuan/hello_canvas
# 注意的点
- 不要一次性预加载整个项目的图片,只预加载canvas game需要的。
\ No newline at end of file
- 不要一次性预加载整个项目的图片,只预加载canvas game需要的。
# 打开弹窗
```js
sendTbNet(TbNetName.showModal, {name:'ruleModal'}, (s, res) => { })
```
# 切换场景
```js
sendTbNet(TbNetName.navigateToPage, {name:'pageshop'}, (s, res) => { })
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment