CSUI:地图UI好了
This commit is contained in:
parent
18341ca34f
commit
7c07e5bbaf
@ -122,7 +122,7 @@ function _G_RegisterEvent(eventId, senderId)
|
||||
if _G_Event_Sender_Table[key] == nil then
|
||||
_G_Event_Sender_Table[key] = {eventId = eventId, senderId = senderId}
|
||||
_G_Event_Sender_Table[key].OnEvent = function(self, ...)
|
||||
local param = _varargToTable(...)
|
||||
local param = _varargToTable(...) or {}
|
||||
CSUI.ManagerContainer.LuaEventMgr:HandleEvent(self.eventId, self.senderId, param)
|
||||
end
|
||||
end
|
||||
@ -196,7 +196,7 @@ function _G_LuaBattleMgr_rewardItemList_JSON()
|
||||
return JSON:encode(rewardList)
|
||||
end
|
||||
function _G_UIStoryMgr_MapStartStoryByStoryId(storyId)
|
||||
ManagerContainer.UIStoryMgr.MapStartStoryByStoryId(storyId)
|
||||
ManagerContainer.UIStoryMgr:MapStartStoryByStoryId(storyId)
|
||||
end
|
||||
function _G_StoryMgr_StartStorySection(storySection, pos)
|
||||
return ManagerContainer.StoryMgr:StartStorySection(storySection, pos)
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
using UnityEngine;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace CSUI
|
||||
@ -58,7 +59,7 @@ namespace CSUI
|
||||
|
||||
public void OnUIPageInEndNtf(object[] paramList)
|
||||
{
|
||||
var id = (int)paramList[0];
|
||||
var id = Convert.ToInt32(paramList[0]);
|
||||
if (isWaitBattleOpen == false) return;
|
||||
if (id != UIPageName.UIBattle) return;
|
||||
_Window.localPosition = Vector3.zero;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user