slua
slua copied to clipboard
Fastest lua binding via static code generating for Unity3D and mono.
加群
加群
Assets/Slua/LuaObject/Unity/Lua_UnityEngine_WWW.cs(283,17): error CS1061: Type `UnityEngine.WWW' does not contain a definition for `GetMovieTexture' and no extension method `GetMovieTexture' of type `UnityEngine.WWW' could be found. Are you missing an assembly reference?
引入2个Tmp,让Vector3.Angle不再alloc
https://github.com/pangweiwei/slua/blob/445d285c61f3b38d1e40e7a4375553732dc27125/build/lua-5.1.5/src/loslib.c#L61 Good afternoon. I noticed in your code the functions using tmpnam. the problem with this function is that it only determines the availability of the filename at the time...
for i=1,20,1 do local obj = slua.loadClass("Blueprint'/Game/Dialog/ItemDataObject.ItemDataObject'") obj.Item_Content="弄好了啊啊" listView:AddItem(obj); end 这个类是一个蓝图类里面定义了一个变量为item_Content现在加载出来以后直接报错说这个obj找不到找个Item_Content属性该如何解决
加群
如何加群。。
Gradient had existed, import can't overload it.  求帮忙看下这个是啥?
环境:unity 2018.4.24f1+slua1.6.2+Nugui3.12.1,net运行时3.5EQ----编译2.0 c#中: class UIEventListenerHelper { ... public static void SetPlayTweenFinish(UIPlayTween uiplaytween, LuaFunction func) { //Debug.log("----lua调用进不来---------------"); EventDelegate.Add(uiplaytween.onFinished, () => func.call(UIPlayTween.current), true); // EventDelegate是Ngui的事件委托类,这里没有导出类;导出也没反应,或许需要特殊写法 } ... } lua这样调用: local UIEventListenerHelper =UIEventListenerHelper...
Assets\Slua\LuaObject\Unity\Lua_UnityEngine_ParticleSystem.cs(31,23): error CS0165: Use of unassigned local variable 'a1' else if(matchType(l,argc,2,typeof(LuaOut))){ UnityEngine.ParticleSystem self=(UnityEngine.ParticleSystem)checkSelf(l); Unity.Collections.NativeArray a1; self.SetParticles(a1); pushValue(l,true); return 1; }