protected override void begin() { base.begin(); UiManager.Instance.backGround.switchBackGround("ChouJiang_BeiJing"); if (isFightBack) { fightBackShow(); if (!isWin) { return; } } GuildGetFightInfoFport port = FPortManager.Instance.getFPort("GuildGetFightInfoFport") as GuildGetFightInfoFport; port.access(updateInfo); }
/** 获得战斗信息 */ public void getFightInfo() { GuildGetFightInfoFport port = FPortManager.Instance.getFPort("GuildGetFightInfoFport") as GuildGetFightInfoFport; port.access(initUI); }