PGRData/Resources/Scripts/XUi/XUiWaterMask/XUiSuperWaterMarks.lua
2022-12-26 14:06:01 +05:30

19 lines
No EOL
379 B
Lua

local OBJECT_COUNT = 204
local XUiSuperWaterMarks = XLuaUiManager.Register(XLuaUi, "UiSuperWaterMarks")
function XUiSuperWaterMarks:OnAwake()
self:InitUiObjects()
end
function XUiSuperWaterMarks:OnStart()
self.TextId.text = XPlayer.Id
if self.ObjectPool:Exist() then
for i = 1, OBJECT_COUNT do
self.ObjectPool:Spawn()
end
end
end