コード例 #1
0
ファイル: WrapFSMBase.cs プロジェクト: liangxc2014/Sanguoqy02
    static int GetComponentInParent(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        FSMBase   obj  = LuaScriptMgr.GetNetObject <FSMBase>(L, 1);
        Type      arg0 = LuaScriptMgr.GetTypeObject(L, 2);
        Component o    = obj.GetComponentInParent(arg0);

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