Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | _scale = _obstacle.transform.localScale.z * 0.25f;
|
| | | }
|
| | |
|
| | | int _effectID = 1040;
|
| | |
|
| | | if(CrossServerRewardModel.IsCrossServerOneVsOne())
|
| | | {
|
| | | _effectID = 5206;
|
| | | }
|
| | |
|
| | | if (package.BarrierList[i].Angle == 0)
|
| | | {
|
| | | // 创建特效
|
| | | SFXController _sfx = SFXPlayUtility.Instance.PlayWithEulerAngle(1040, _pos, _isHorizontal ? new Vector3(0, 0, 0) : new Vector3(0, 90, 0));
|
| | | SFXController _sfx = SFXPlayUtility.Instance.PlayWithEulerAngle(_effectID, _pos, _isHorizontal ? new Vector3(0, 0, 0) : new Vector3(0, 90, 0));
|
| | | _sfx.duration = 0;
|
| | | _sfx.transform.localScale = new Vector3(_scale, 1, 1);
|
| | | sfxDict.Add(id, _sfx);
|
| | | }
|
| | | else
|
| | | {
|
| | | SFXController _sfx = SFXPlayUtility.Instance.PlayWithEulerAngle(1040, _pos, new Vector3(0, package.BarrierList[i].Angle, 0));
|
| | | SFXController _sfx = SFXPlayUtility.Instance.PlayWithEulerAngle(_effectID, _pos, new Vector3(0, package.BarrierList[i].Angle, 0));
|
| | | _sfx.duration = 0;
|
| | | _sfx.transform.localScale = new Vector3(_scale, 1, 1);
|
| | | sfxDict.Add(id, _sfx);
|
| | |
| | | [SerializeField]
|
| | | Button onekeyPutBtn;
|
| | |
|
| | | [SerializeField] GameObject composeItemSelectObj;
|
| | |
|
| | | [SerializeField] UIEffect oneMatEffect;
|
| | | [SerializeField] UIEffect twoMatEffect;
|
| | | [SerializeField] UIEffect threeMatEffect;
|
| | |
| | | successRateText.text = Language.Get("HallowsWin_Success", StringUtility.Contact(compoundModel.successRate / 100, "%"));
|
| | | composeWinModel.SetCurComposeModel(compoundModel);
|
| | | UpdateComposeMat();
|
| | |
|
| | | composeItemSelectObj.SetActive(compoundModel.secondType < 4);
|
| | | }
|
| | |
|
| | | private bool ChangeFixedMatUI()
|