PGRData/Script/matrix/xui/xuitransfinite/XUiTransfiniteUtil.lua
2024-09-01 22:49:41 +02:00

12 lines
No EOL
355 B
Lua

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