PGRData/Script/matrix/xui/xuitransfinite/XUiTransfiniteUtil.lua

12 lines
355 B
Lua
Raw Permalink Normal View History

2024-09-01 22:49:41 +02:00
local XUiTransfiniteUtil = {}
---@param ui XLuaUi
function XUiTransfiniteUtil.HideEffectHuan(ui)
local uiFarRootObj = ui.UiModel.UiFarRoot
local effectHuan = XUiHelper.TryGetComponent(uiFarRootObj, "FxUiTransfinite3dHuan", "Transform")
if effectHuan then
effectHuan.gameObject:SetActiveEx(false)
end
end
return XUiTransfiniteUtil