Skip to content

Commit

Permalink
[unity]mult backend的GetLibBackend根据不同的backend返回
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Dec 18, 2024
1 parent 3572ff4 commit 7116a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unity/native_src/Src/PuertsMultBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ PUERTS_EXPORT int GetApiLevel()

PUERTS_EXPORT int GetLibBackend(puerts::IPuertsPlugin* plugin)
{
return 0;
return plugin->GetType();
}

PUERTS_EXPORT puerts::IPuertsPlugin* CreateJSEngine(int backend)
Expand Down

0 comments on commit 7116a53

Please sign in to comment.