Comments (1)
我在最新版本puerts,unity2022下试了没问题,生成代码如下:
internal static void M_SetCanvasSortingOrder(IntPtr isolate, IntPtr info, IntPtr self, int paramLen, long data)
{
try
{
var obj = Puerts.Utils.GetSelf((int)data, self) as PuertsTest.TestClass;
{
IntPtr v8Value0 = PuertsDLL.GetArgumentValue(info, 0);
object argobj0 = null;
;
IntPtr v8Value1 = PuertsDLL.GetArgumentValue(info, 1);
object argobj1 = null;
;
{
argobj0 = argobj0 != null ? argobj0 : StaticTranslate<PuertsTest.CMTree<UnityEngine.GameObject>.Node>.Get((int)data, isolate, NativeValueApi.GetValueFromArgument, v8Value0, false); PuertsTest.CMTree<UnityEngine.GameObject>.Node arg0 = (PuertsTest.CMTree<UnityEngine.GameObject>.Node)argobj0;
int arg1 = (int)PuertsDLL.GetNumberFromValue(isolate, v8Value1, false);
obj.SetCanvasSortingOrder (arg0, arg1);
}
}
}
catch (Exception e)
{
Puerts.PuertsDLL.ThrowException(isolate, "c# exception:" + e.Message + ",stack:" + e.StackTrace);
}
}
from puerts.
Related Issues (20)
- [Unity]/[UE] c++静态绑定,传参的各种情况不一致 HOT 8
- [UE] Bug: quickjs模式关闭时崩溃 HOT 8
- [Unity] Benchmark in readme for jint vs puerts HOT 2
- [UE] 关于 QuickJS 编译到 NS 平台的方法 HOT 8
- [Unity] 2023 unity支持wasmbigint 开启后puerts无法初始化 HOT 3
- [UE] Bug: WaitGameplayEvent 蓝图没有问题,但是Ts调用后无反应 HOT 5
- [Unity] Question: 能否将 vsauto-static 项目打包到github action的 Artifacts 里面呢 HOT 1
- [UE] Bug: BlueprintPure Function TypeError: is not a function HOT 6
- [UE] 咨询一个问题,puerts中使用v8,如何输出v8的log,添加flag --log-all不生效 HOT 3
- Sending a data structure from typescript/javascript back to C# HOT 2
- [UE] Bug: 线上环境 V8 偶先 GC 崩溃,本地无法复现 HOT 3
- [UE] Bug: 应该对 #1744 引入的变更用文档说明 HOT 3
- [Unity] Bug: C#传递数组到ts方法中,ts方法获取不到参数从而报错
- [UE] 如何在不打开编辑器的情况下脚本触发GenUeDts函数 HOT 1
- [Unity] Bug: Linux CI - Libpuerts.so not found HOT 3
- [UE] 打包后,调用蓝图函数库的函数时,没有走到TS内的逻辑 HOT 8
- [UE] Bug: TArray<uint8> 通过 FArrayBuffer 传入 ts Uint8Array,内容不匹配 HOT 2
- [Unity] Bug: RenderTextureFormat.RFloat crashes the editor during RenderTexture initialization HOT 4
- [UE] tsc怎么转换单个ts到js? HOT 1
- [UE] unreal有没有StaticWrapper功能 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puerts.