黑板擦弹飞
This commit is contained in:
parent
f4dd17810d
commit
0f6fe765f6
@ -384,10 +384,11 @@ namespace GameLogic
|
|||||||
// 特效播放完毕后销毁
|
// 特效播放完毕后销毁
|
||||||
GameObject.Destroy(eGo);
|
GameObject.Destroy(eGo);
|
||||||
// 生成爆点
|
// 生成爆点
|
||||||
var effectGo = GameModule.Resource.LoadGameObject("XNB_Green_Boom");
|
//var effectGo = GameModule.Resource.LoadGameObject("XNB_Green_Boom");
|
||||||
|
var effectGo = GameModule.Resource.LoadGameObject("HBC_TanFei");
|
||||||
effectGo.transform.SetParent(m_rectCar.transform);
|
effectGo.transform.SetParent(m_rectCar.transform);
|
||||||
effectGo.transform.localPosition = Vector3.zero;
|
effectGo.transform.localPosition = Vector3.zero;
|
||||||
effectGo.transform.localScale = Vector3.one;
|
effectGo.transform.localScale = Vector3.one * 0.1f;
|
||||||
effectGo.gameObject.SetActive(true);
|
effectGo.gameObject.SetActive(true);
|
||||||
|
|
||||||
// 给进度条一个缩减回弹效果
|
// 给进度条一个缩减回弹效果
|
||||||
|
Loading…
x
Reference in New Issue
Block a user