diff --git a/Assets/XLua/Doc/Hotfix_EN.md b/Assets/XLua/Doc/Hotfix_EN.md index 829838b0a..f41949a9a 100644 --- a/Assets/XLua/Doc/Hotfix_EN.md +++ b/Assets/XLua/Doc/Hotfix_EN.md @@ -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. diff --git a/Assets/XLua/Doc/hotfix.md b/Assets/XLua/Doc/hotfix.md index ef31e2051..f9dbbdc90 100644 --- a/Assets/XLua/Doc/hotfix.md +++ b/Assets/XLua/Doc/hotfix.md @@ -80,7 +80,7 @@ Hotfix标签可以设置一些标志位对生成代码及插桩定制化 * Stateless、Stateful -遗留设置,Stateful方式在新版本已经删除,因为这种方式可以用xlua.util.hotfix_state接口达到类似的效果,该接口的使用可以看下HotfixTest2.cs里的示例代码。 +遗留设置,Stateful方式在新版本已经删除,因为这种方式可以用xlua.util.state接口达到类似的效果,该接口的使用可以看下HotfixTest2.cs里的示例代码。 由于没Stateful,默认就是Stateless,所以也没必要设置该标志位。