Пример #1
0
    static int ChildRecursion(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        GameObject arg0 = LuaScriptMgr.GetUnityObject <GameObject>(L, 1);
        string     arg1 = LuaScriptMgr.GetLuaString(L, 2);
        GameObject o    = UtilCommon.ChildRecursion(arg0, arg1);

        LuaScriptMgr.Push(L, o);
        return(1);
    }