public void Call(Framework.Scene param0) { func.BeginPCall(); func.PushObject(param0); func.PCall(); func.EndPCall(); }
static int set_CurScene(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Framework.SceneMgr obj = (Framework.SceneMgr)o; Framework.Scene arg0 = (Framework.Scene)ToLua.CheckObject <Framework.Scene>(L, 2); obj.CurScene = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index CurScene on a nil value")); } }
static int get_CurScene(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Framework.SceneMgr obj = (Framework.SceneMgr)o; Framework.Scene ret = obj.CurScene; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index CurScene on a nil value")); } }
static int get_CurScene(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("Framework.SceneMgr.CurScene"); #endif object o = null; try { o = ToLua.ToObject(L, 1); Framework.SceneMgr obj = (Framework.SceneMgr)o; Framework.Scene ret = obj.CurScene; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index CurScene on a nil value")); } }
public Camera AquireMainCamera(Scene mainScene) { return(FindSceneCamera(mainScene, true)); }
public Camera AquireLevelCamera(Scene mainScene) { return(FindSceneCamera(mainScene, false)); }
protected override void OnInitialize() { base.OnInitialize(); CurScene = null; }