예제 #1
0
    static int Init(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        LoadSceneMgr obj  = LuaScriptMgr.GetNetObject <LoadSceneMgr>(L, 1);
        GameObject   arg0 = LuaScriptMgr.GetUnityObject <GameObject>(L, 2);

        obj.Init(arg0);
        return(0);
    }
예제 #2
0
    static int Init(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        LoadSceneMgr obj  = (LoadSceneMgr)LuaScriptMgr.GetNetObjectSelf(L, 1, "LoadSceneMgr");
        GameObject   arg0 = (GameObject)LuaScriptMgr.GetUnityObject(L, 2, typeof(GameObject));

        obj.Init(arg0);
        return(0);
    }