1.序章-家中 1)加入了后处理volume对象,添加了Bloom,轻微暗角与重新映射动态范围 2.序章-战场 1)加入了后处理volume对象,与一些色调色轮调整 2)(建议这个场景也加入爆炸声和屏幕震动,因为背景也有炮弹,现在太平静了) 3.第一关 1)加入了后处理volume对象,与一些色调色轮调整 2)修复了枪光的bug 4.第二关 1)加入了后处理volume对象,与一些色调色轮调整 2)加入了背景的炮火效果 3)加入了解决的两声枪响 5.在music effects文件夹里加入了不合适的音效的替代
22 lines
799 B
C#
22 lines
799 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class CallASpecialShell : Event
|
|
{
|
|
//修好第一个电话线后的事件,召唤一个特殊的炮弹摧毁石头
|
|
[Tooltip("要召唤,得先有,对吧?拖进炮弹的预制体")]
|
|
public GameObject shell;
|
|
[Tooltip("召唤的炮弹需要知道自己属于哪个轰炸区,请拖入其轰炸区")]
|
|
public BombingArea bombingArea;
|
|
|
|
public override void OnCall()
|
|
{
|
|
//当事件触发,生成一个特殊的炮弹
|
|
Shell thisShell = Instantiate(shell,new Vector3(17.64f,13.23999977f,0f),Quaternion.identity).
|
|
GetComponent<Shell>();
|
|
thisShell.M_BombingArea = bombingArea;
|
|
thisShell.YouAreSpecal();//告诉这枚炮弹,它是特殊的
|
|
}
|
|
}
|