Skip to content

Commit

Permalink
过时部分修改
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Jun 28, 2018
1 parent 619afb2 commit abd1c40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Assets/XLua/Doc/Hotfix_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ The Hotfix flag can set some flags to customize the generated code and instrumen

* Stateless and Stateful

This is is a legacy setting. The Stateful method has been removed in the new version because similar effects can be achieved with the xlua.util.hotfix_state interface. For how to use this interface, see the sample code in HotfixTest2.cs.
This is is a legacy setting. The Stateful method has been removed in the new version because similar effects can be achieved with the xlua.util.state interface. For how to use this interface, see the sample code in HotfixTest2.cs.

Without Stateful, the default is Stateless, so there is no need to set this flag.

Expand Down
2 changes: 1 addition & 1 deletion Assets/XLua/Doc/hotfix.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Hotfix标签可以设置一些标志位对生成代码及插桩定制化

* Stateless、Stateful

遗留设置,Stateful方式在新版本已经删除,因为这种方式可以用xlua.util.hotfix_state接口达到类似的效果,该接口的使用可以看下HotfixTest2.cs里的示例代码。
遗留设置,Stateful方式在新版本已经删除,因为这种方式可以用xlua.util.state接口达到类似的效果,该接口的使用可以看下HotfixTest2.cs里的示例代码。

由于没Stateful,默认就是Stateless,所以也没必要设置该标志位。

Expand Down

0 comments on commit abd1c40

Please sign in to comment.