예제 #1
0
    static int GetComponentInChildren(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        FSMBase   obj  = LuaScriptMgr.GetNetObject <FSMBase>(L, 1);
        Type      arg0 = LuaScriptMgr.GetTypeObject(L, 2);
        Component o    = obj.GetComponentInChildren(arg0);

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