static int get_headTra(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); I_ActorTrans obj = (I_ActorTrans)o; UnityEngine.Transform ret = obj.headTra; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index headTra on a nil value" : e.Message)); } }
static int set_clothTra(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); I_ActorTrans obj = (I_ActorTrans)o; UnityEngine.Transform arg0 = (UnityEngine.Transform)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.Transform)); obj.clothTra = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index clothTra on a nil value" : e.Message)); } }