Skip to content

Commit

Permalink
[unity]api变更,plugins版本号加1
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Dec 31, 2021
1 parent 5254211 commit 3c1242f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion unity/Assets/Puerts/Src/JsEnv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public JsEnv(ILoader loader, IntPtr externalRuntime, IntPtr externalContext)

public JsEnv(ILoader loader, int debugPort, IntPtr externalRuntime, IntPtr externalContext)
{
const int libVersionExpect = 14;
const int libVersionExpect = 15;
int libVersion = PuertsDLL.GetLibVersion();
if (libVersion != libVersionExpect)
{
Expand Down
2 changes: 1 addition & 1 deletion unity/native_src/Src/Puerts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <cstring>
#include "V8Utils.h"

#define LIB_VERSION 14
#define LIB_VERSION 15

using puerts::JSEngine;
using puerts::FValue;
Expand Down

0 comments on commit 3c1242f

Please sign in to comment.