1
This commit is contained in:
parent
91645522b6
commit
8f9de5605e
@ -378,9 +378,13 @@ namespace GameLogic
|
||||
{
|
||||
// 特效播放完毕后销毁
|
||||
GameObject.Destroy(eGo);
|
||||
|
||||
int teid = Random.Range(0, 100);
|
||||
|
||||
|
||||
// 生成爆点
|
||||
//var effectGo = GameModule.Resource.LoadGameObject("XNB_Green_Boom");
|
||||
var effectGo = GameModule.Resource.LoadGameObject("HBC_TanFei");
|
||||
var effectGo = GameModule.Resource.LoadGameObject(teid >= 50 ? "HBC_TanFei" : "XNB_Green_Boom");
|
||||
effectGo.transform.SetParent(m_rectCar.transform);
|
||||
effectGo.transform.localPosition = Vector3.zero;
|
||||
effectGo.transform.localScale = Vector3.one * 0.1f;
|
||||
|
Loading…
x
Reference in New Issue
Block a user