static int _CreateDisplayOwner(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2) { UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 1, typeof(UnityEngine.GameObject)); PositionObject arg1 = (PositionObject)ToLua.CheckUnityObject(L, 2, typeof(PositionObject)); DisplayOwner obj = new DisplayOwner(arg0, arg1); ToLua.PushObject(L, obj); return(1); } else if (count == 3 && TypeChecker.CheckTypes(L, 1, typeof(UnityEngine.GameObject), typeof(PositionObject), typeof(RanderControl))) { UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 1, typeof(UnityEngine.GameObject)); PositionObject arg1 = (PositionObject)ToLua.CheckUnityObject(L, 2, typeof(PositionObject)); RanderControl arg2 = (RanderControl)ToLua.CheckUnityObject(L, 3, typeof(RanderControl)); DisplayOwner obj = new DisplayOwner(arg0, arg1, arg2); ToLua.PushObject(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: DisplayOwner.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public DisplayOwner([NotNull] GameObject gameObj, [NotNull] PositionObject clusterData, [NotNull] RanderControl randerControl) { GameObj = gameObj; ClusterData = clusterData; //MFAModelRender = modelRender; RanderControl = randerControl; //MemberData = memberData; }
static int SetBloodBarValue(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); RanderControl obj = (RanderControl)ToLua.CheckObject(L, 1, typeof(RanderControl)); obj.SetBloodBarValue(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_isSetShader(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RanderControl obj = (RanderControl)o; bool ret = obj.isSetShader; LuaDLL.lua_pushboolean(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index isSetShader on a nil value" : e.Message)); } }
static int get_Head(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RanderControl obj = (RanderControl)o; UnityEngine.Transform ret = obj.Head; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index Head on a nil value" : e.Message)); } }
static int get_NowWorldCamera(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RanderControl obj = (RanderControl)o; UnityEngine.Camera ret = obj.NowWorldCamera; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index NowWorldCamera on a nil value" : e.Message)); } }
static int get_bloodBarCom(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); RanderControl obj = (RanderControl)o; BloodBar ret = obj.bloodBarCom; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index bloodBarCom on a nil value" : e.Message)); } }
static int set_RanderControl(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DisplayOwner obj = (DisplayOwner)o; RanderControl arg0 = (RanderControl)ToLua.CheckUnityObject(L, 2, typeof(RanderControl)); obj.RanderControl = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index RanderControl on a nil value" : e.Message)); } }
static int get_RanderControl(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DisplayOwner obj = (DisplayOwner)o; RanderControl ret = obj.RanderControl; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index RanderControl on a nil value" : e.Message)); } }