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

2019-03-26  本文已影响0人  一剑卿心

Unlua:

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

function BuildingUpgrade:OnTouchEnded(Geometry, MouseEvent)
    return UE4.UWidgetBlueprintLibrary.Handled()
end
上一篇下一篇

猜你喜欢

热点阅读