更新MobAnim和MainWindow功能
This commit is contained in:
parent
aa5baf00b5
commit
73126e8a05
@ -145,6 +145,7 @@ local function PerMob(MobInstance: Model)
|
|||||||
Mob.AnimationTracks = AnimationTracks
|
Mob.AnimationTracks = AnimationTracks
|
||||||
Mobs[MobInstance] = Mob
|
Mobs[MobInstance] = Mob
|
||||||
|
|
||||||
|
|
||||||
Maid:Add(MobInstance.Destroying:Connect(function()
|
Maid:Add(MobInstance.Destroying:Connect(function()
|
||||||
Mobs[MobInstance] = nil
|
Mobs[MobInstance] = nil
|
||||||
Maid:Destroy()
|
Maid:Destroy()
|
||||||
|
@ -161,6 +161,7 @@ function MainWindow:OnOpenWindow()
|
|||||||
-- 后续变动设置
|
-- 后续变动设置
|
||||||
SetForgeCostChange()
|
SetForgeCostChange()
|
||||||
-- 初始化设置
|
-- 初始化设置
|
||||||
|
-- ceshi1
|
||||||
self:SetShowForgeBar(forgeInstance.Value, hasItem.Value)
|
self:SetShowForgeBar(forgeInstance.Value, hasItem.Value)
|
||||||
else
|
else
|
||||||
-- 没有货币时监听设置
|
-- 没有货币时监听设置
|
||||||
|
Loading…
x
Reference in New Issue
Block a user