31 lines
479 B
Lua
31 lines
479 B
Lua
|
|
GuideTable = GuideTable or {};
|
|
|
|
---@class MechanismGuideItem
|
|
---@field Icon string
|
|
---@field IconTexture UTexture2D
|
|
|
|
---@type table<int32, MechanismGuideItem>
|
|
GuideTable.SceneObjectGuide = {
|
|
[1] = {
|
|
|
|
Icon = nil;
|
|
Desc = {
|
|
|
|
},
|
|
--Cost =
|
|
},
|
|
};
|
|
|
|
function GuideTable.Init()
|
|
for i, v in pairs(GuideTable.SceneObjectGuide) do
|
|
if v.Icon then
|
|
local Text = UE.LoadObject(v.Icon)
|
|
if Text ~= nil then
|
|
v.IconTexture = Text;
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
return GuideTable; |