Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | _scale = _obstacle.transform.localScale.z * 0.25f;
|
| | | }
|
| | |
|
| | | // 创建特效
|
| | | SFXController _sfx = SFXPlayUtility.Instance.PlayWithEulerAngle(1040, _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);
|
| | | if (package.BarrierList[i].Angle == 0)
|
| | | {
|
| | | // 创建特效
|
| | | SFXController _sfx = SFXPlayUtility.Instance.PlayWithEulerAngle(1040, _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));
|
| | | _sfx.duration = 0;
|
| | | _sfx.transform.localScale = new Vector3(_scale, 1, 1);
|
| | | sfxDict.Add(id, _sfx);
|
| | | }
|
| | | }
|
| | | }
|
| | | else if (package.State == 0)
|