主界面添加,许多bug修复。祝贺黑盒1如期开始
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.Rendering;
|
||||
using UnityEngine.Rendering.Universal;
|
||||
using System.Collections;
|
||||
|
||||
public class opturn : MonoBehaviour
|
||||
{
|
||||
[Header("Sequence Settings")]
|
||||
public Volume globalVolume;
|
||||
public Image fadeInImage;
|
||||
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
// 1. 初始设置:Bloom Intensity 设为 0
|
||||
if (globalVolume != null && globalVolume.profile.TryGet<Bloom>(out var bloom))
|
||||
{
|
||||
bloom.intensity.Override(0f);
|
||||
}
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user