Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ialex32x committed Jul 26, 2021
1 parent 9505c16 commit 515e77e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,10 @@ onmessage = function (data) {
## Hotload
![Code Hotload](jsb_build/res/hotload.gif)

## Editor in Scripts
![JS Module Viewer](jsb_build/res/js_module_viewer.png)
> This is a built-in tool implemented in typescript to checkout all loaded commonjs modules in javascript runtime, also an example for implementing EditorWindow in scripts.
## Hotfix
> This feature is unfinished.
Expand Down
4 changes: 4 additions & 0 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,10 @@ onmessage = function (data) {

> 当 JSBehaviour 关联脚本热加载时, 将触发一次 OnBeforeSerialize, 然后替换为更新后的脚本实例, 并触发 OnAfterDeserialize
## Editor in Scripts
![JS Module Viewer](jsb_build/res/js_module_viewer.png)
> 这是一个用于查看当前载入的 commonjs 模块的完全由 typescript 代码实现的工具窗口, 可以作为在脚本中实现 EditorWindow 写法的例子.
## Hotfix
初步功能, 尚未实现完整流程.

Expand Down
Binary file added jsb_build/res/js_module_viewer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 515e77e

Please sign in to comment.