美文网首页
UE4:屏蔽点击事件向下传递

UE4:屏蔽点击事件向下传递

作者: 一剑卿心 | 来源:发表于2019-03-26 11:05 被阅读0次

    Unlua:

    function BuildingUpgrade:OnMouseButtonDown(Geometry, MouseEvent)
        return UE4.UWidgetBlueprintLibrary.Handled()
    end
    
    function BuildingUpgrade:OnTouchEnded(Geometry, MouseEvent)
        return UE4.UWidgetBlueprintLibrary.Handled()
    end
    

    相关文章

      网友评论

          本文标题:UE4:屏蔽点击事件向下传递

          本文链接:https://www.haomeiwen.com/subject/hkxgvqtx.html