SAIPO 6bd74c6c0c 合并了分支
1.序章-家中
  1)加入了后处理volume对象,添加了Bloom,轻微暗角与重新映射动态范围
2.序章-战场
  1)加入了后处理volume对象,与一些色调色轮调整
  2)(建议这个场景也加入爆炸声和屏幕震动,因为背景也有炮弹,现在太平静了)
3.第一关
  1)加入了后处理volume对象,与一些色调色轮调整
  2)修复了枪光的bug
4.第二关
  1)加入了后处理volume对象,与一些色调色轮调整
  2)加入了背景的炮火效果
  3)加入了解决的两声枪响
5.在music effects文件夹里加入了不合适的音效的替代
2021-09-09 22:08:49 +08:00

39 lines
757 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
public class BackBoom : MonoBehaviour
{
public Transform left;
public Transform right;
public Transform up;
public Transform down;
public GameObject boomLight;
public List<GameObject> BoomList;
// Start is called before the first frame update
void Start()
{
InvokeRepeating("AddLight",1f,0.2f);
}
// Update is called once per frame
void Update()
{
}
void AddLight()
{
Vector2 pos = new Vector2(Random.Range(left.position.x,right.position.x),Random.Range(up.position.y,down.position.y));
Instantiate(boomLight, pos, Quaternion.identity);
}
}