Merge pull request '덱 팝업에서 몬스터 HP UI가 앞에 뜨지 않도록 수정' (#30) from fix/deck-popup-monster-layer into main
Reviewed-on: #30
This commit was merged in pull request #30.
This commit is contained in:
@@ -1920,6 +1920,12 @@ if self.DeckAllOpen == true then
|
||||
allHud.Enable = false
|
||||
end
|
||||
end
|
||||
for i = 1, 4 do
|
||||
\tlocal monsterSlot = _EntityService:GetEntityByPath("/ui/DefaultGroup/CombatHud/MonsterSlot" .. tostring(i))
|
||||
\tif monsterSlot ~= nil then
|
||||
\t\tmonsterSlot.Enable = false
|
||||
\tend
|
||||
end
|
||||
local pile = {}
|
||||
local title = ""
|
||||
if kind == "discard" then
|
||||
@@ -1938,6 +1944,12 @@ end`, [{ Type: 'string', DefaultValue: null, SyncDirection: 0, Attributes: [], N
|
||||
local hud = _EntityService:GetEntityByPath("/ui/DefaultGroup/DeckInspectHud")
|
||||
if hud ~= nil then
|
||||
hud.Enable = false
|
||||
end
|
||||
for i = 1, 4 do
|
||||
\tlocal monsterSlot = _EntityService:GetEntityByPath("/ui/DefaultGroup/CombatHud/MonsterSlot" .. tostring(i))
|
||||
\tif monsterSlot ~= nil then
|
||||
\t\tmonsterSlot.Enable = true
|
||||
\tend
|
||||
end`),
|
||||
method('RenderDeckInspect', `local count = 0
|
||||
if pile ~= nil then
|
||||
@@ -1997,6 +2009,12 @@ if inspectHud ~= nil then
|
||||
end
|
||||
self.DeckInspectKind = ""
|
||||
self.DeckAllOpen = true
|
||||
for i = 1, 4 do
|
||||
\tlocal monsterSlot = _EntityService:GetEntityByPath("/ui/DefaultGroup/CombatHud/MonsterSlot" .. tostring(i))
|
||||
\tif monsterSlot ~= nil then
|
||||
\t\tmonsterSlot.Enable = false
|
||||
\tend
|
||||
end
|
||||
self:RenderAllDeck()
|
||||
local hud = _EntityService:GetEntityByPath("/ui/DefaultGroup/DeckAllHud")
|
||||
if hud ~= nil then
|
||||
@@ -2006,6 +2024,12 @@ end`),
|
||||
local hud = _EntityService:GetEntityByPath("/ui/DefaultGroup/DeckAllHud")
|
||||
if hud ~= nil then
|
||||
hud.Enable = false
|
||||
end
|
||||
for i = 1, 4 do
|
||||
\tlocal monsterSlot = _EntityService:GetEntityByPath("/ui/DefaultGroup/CombatHud/MonsterSlot" .. tostring(i))
|
||||
\tif monsterSlot ~= nil then
|
||||
\t\tmonsterSlot.Enable = true
|
||||
\tend
|
||||
end`),
|
||||
method('RenderAllDeck', `local pile = self.RunDeck or {}
|
||||
local count = #pile
|
||||
|
||||
Reference in New Issue
Block a user