Files
BlueArchiveMiniGame/Assets/ThirdParty/DestroyIt/Demos (safe to delete)/Scripts/Effects/ResetSkybox.cs
2025-09-17 18:56:28 +08:00

16 lines
387 B
C#

using UnityEngine;
namespace DestroyIt
{
public class ResetSkybox : MonoBehaviour
{
void Start()
{
// Reset the skybox blend amount to zero. This is only used for the demo scene.
if (RenderSettings.skybox.HasProperty("_Blend"))
RenderSettings.skybox.SetFloat("_Blend", 0f);
Destroy(this);
}
}
}