Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | if(itemConfig != null)
|
| | | {
|
| | | nameText.text = itemConfig.ItemName;
|
| | | nameText.color = UIHelper.GetUIColor(itemConfig.ItemColor,true);
|
| | | nameText.color = UIHelper.GetUIColor(itemConfig.ItemColor,false);
|
| | | }
|
| | | itemCell.cellBtn.RemoveAllListeners();
|
| | | itemCell.cellBtn.AddListener(()=>
|
| | |
| | | public int[]dungeonKillArray { get; private set; }
|
| | | public override void Init()
|
| | | {
|
| | | isKillByPlayer = false;
|
| | | FuncConfigConfig funcConfig = Config.Instance.Get<FuncConfigConfig>("RebornArguments");
|
| | | dungeonKillArray = ConfigParse.GetMultipleStr<int>(funcConfig.Numerical2);
|
| | | RebornConditions = ConfigParse.GetMultipleStr<int>(funcConfig.Numerical1);
|
| | |
| | |
|
| | | public void OnBeforePlayerDataInitialize()
|
| | | {
|
| | | isKillByPlayer = false;
|
| | | IsCanReborn = false;
|
| | | isOpenPrompting = true;
|
| | | this.deadCD = 0;
|
| | |
| | | {
|
| | | if (DeadModel.deadCD != 0)
|
| | | {
|
| | | Debug.Log("是玩家杀死处于死亡疲劳");
|
| | | WindowCenter.Instance.Open<RebornTiredWin>();
|
| | | }
|
| | | else
|
| | | {
|
| | | Debug.Log("是玩家杀死非死亡疲劳");
|
| | | DeadModel.SendRebornQuest(0);
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | Debug.Log("不是玩家杀死");
|
| | | DeadModel.SendRebornQuest(0);
|
| | | }
|
| | | }
|