ro-table/Asstes/Resources/Script/FrameWork/GUI/view/SceneAnimationPanel.txt
2025-06-04 05:02:57 +08:00

16 lines
437 B
Plaintext

SceneAnimationPanel = class("SceneAnimationPanel", BaseView)
SceneAnimationPanel.ViewType = UIViewType.DialogLayer
function SceneAnimationPanel:Init()
self:AddListener()
end
function SceneAnimationPanel:AddListener()
self:AddListenEvt(ServiceEvent.PlayerMapChange,self.SceneLoadFinishHandler)
end
function SceneAnimationPanel:SceneLoadFinishHandler( note )
if(note.type == LoadSceneEvent.StartLoad) then
self:CloseSelf()
end
end