コード例 #1
0
    public static int get_m_popupGameObject(IntPtr l)
    {
        int result;

        try
        {
            PointerPopup pointerPopup = (PointerPopup)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, pointerPopup.m_luaExportHelper.m_popupGameObject);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #2
0
    public static int SetPopupGameObject(IntPtr l)
    {
        int result;

        try
        {
            PointerPopup pointerPopup = (PointerPopup)LuaObject.checkSelf(l);
            GameObject   popupGameObject;
            LuaObject.checkType <GameObject>(l, 2, out popupGameObject);
            pointerPopup.SetPopupGameObject(popupGameObject);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #3
0
    public static int OnPointerUp(IntPtr l)
    {
        int result;

        try
        {
            PointerPopup     pointerPopup = (PointerPopup)LuaObject.checkSelf(l);
            PointerEventData eventData;
            LuaObject.checkType <PointerEventData>(l, 2, out eventData);
            pointerPopup.OnPointerUp(eventData);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #4
0
    public static int set_m_uiStateController(IntPtr l)
    {
        int result;

        try
        {
            PointerPopup            pointerPopup = (PointerPopup)LuaObject.checkSelf(l);
            CommonUIStateController uiStateController;
            LuaObject.checkType <CommonUIStateController>(l, 2, out uiStateController);
            pointerPopup.m_luaExportHelper.m_uiStateController = uiStateController;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }