Files
Main/Assets/Launcher/ExternalLibs/AmplifyBloom/AmplifyStarlineCache.cs

31 lines
471 B
C#
Raw Permalink Normal View History

2025-01-25 04:38:09 +08:00
using System;
using UnityEngine;
namespace AmplifyBloom
{
[Serializable]
public class AmplifyStarlineCache
{
[SerializeField]
internal AmplifyPassCache[] Passes;
public AmplifyStarlineCache()
{
this.Passes = new AmplifyPassCache[4];
for (int i = 0; i < 4; i++)
{
this.Passes[i] = new AmplifyPassCache();
}
}
public void Destroy()
{
for (int i = 0; i < 4; i++)
{
this.Passes[i].Destroy();
}
this.Passes = null;
}
}
}