Пример #1
0
    private static int GetPanel(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        UIDummy   uIDummy = (UIDummy)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UIDummy");
        IXUIPanel panel   = uIDummy.GetPanel();

        LuaScriptMgr.PushObject(L, panel);
        return(1);
    }
Пример #2
0
    static int GetPanel(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        UIDummy obj = (UIDummy)LuaScriptMgr.GetUnityObjectSelf(L, 1, "UIDummy");

        UILib.IXUIPanel o = obj.GetPanel();
        LuaScriptMgr.PushObject(L, o);
        return(1);
    }