private void GetMap() { _curMap = _mapMaker.curMap; //get map to spawn if (_curMap == CurMap.Map_1) { _z_0 = _mapMaker.z_0(); //add to array _z_1 = _mapMaker.z_1(); _z_2 = _mapMaker.z_2(); _z_3 = _mapMaker.z_3(); _z_4 = _mapMaker.z_4(); _z_5 = _mapMaker.z_5(); _z_6 = _mapMaker.z_6(); _z_7 = _mapMaker.z_7(); _z_8 = _mapMaker.z_8(); _z_9 = _mapMaker.z_9(); _z_10 = _mapMaker.z_10(); _z_11 = _mapMaker.z_11(); _z_12 = _mapMaker.z_12(); _z_13 = _mapMaker.z_13(); _z_14 = _mapMaker.z_14(); _z_15 = _mapMaker.z_15(); _z_16 = _mapMaker.z_16(); _z_17 = _mapMaker.z_17(); _z_18 = _mapMaker.z_18(); _z_19 = _mapMaker.z_19(); _z_20 = _mapMaker.z_20(); } }
protected override void OnHide() { base.OnHide(); CurMap.Hide(); //lz-2016.10.25 关闭地图的时候显示锁定UI if (null != WhiteCat.LockUI.instance) { WhiteCat.LockUI.instance.ShowWhenUIDisappear(); } }
public override void Show() { if (PeGameMgr.IsCustom) { return; } base.Show(); CurMap.Show(); //lz-2016.10.25 打开地图的时候隐藏锁定UI if (null != WhiteCat.LockUI.instance) { WhiteCat.LockUI.instance.HideWhenUIPopup(); } }
void OnSelfMask3() { CurMap.ChangeMaskIcon(3); }
void OnSelfMask2() { CurMap.ChangeMaskIcon(2); }
void OnSelfMask1() { CurMap.ChangeMaskIcon(1); }
void OnSelfMask0() { CurMap.ChangeMaskIcon(0); }
void WarpYes() { CurMap.OnWarpYes(); }
void MaskYes() { CurMap.MaskYes(); }