static int set_instance(IntPtr L) { try { sFramework.sULoading arg0 = (sFramework.sULoading)ToLua.CheckUnityObject(L, 2, typeof(sFramework.sULoading)); sFramework.sULoading.instance = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int disableCamera(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); sFramework.sULoading obj = (sFramework.sULoading)ToLua.CheckObject(L, 1, typeof(sFramework.sULoading)); obj.disableCamera(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_playerCC(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); sFramework.sULoading obj = (sFramework.sULoading)o; UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.GameObject)); obj.playerCC = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index playerCC on a nil value" : e.Message)); } }
static int get_playerCC(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); sFramework.sULoading obj = (sFramework.sULoading)o; UnityEngine.GameObject ret = obj.playerCC; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index playerCC on a nil value" : e.Message)); } }
void Awake() { instance = this; }