LethalCompany/Lethal Company/ExportedProject/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltSegmentGroup.cs
2023-12-22 18:30:10 -05:00

42 lines
764 B
C#

using System.Collections.Generic;
using UnityEngine;
namespace DigitalRuby.ThunderAndLightning
{
public class LightningBoltSegmentGroup
{
public float LineWidth;
public int StartIndex;
public int Generation;
public float Delay;
public float PeakStart;
public float PeakEnd;
public float LifeTime;
public float EndWidthMultiplier;
public Color32 Color;
public readonly List<LightningBoltSegment> Segments = new List<LightningBoltSegment>();
public readonly List<Light> Lights = new List<Light>();
public LightningLightParameters LightParameters;
public int SegmentCount => Segments.Count - StartIndex;
public void Reset()
{
LightParameters = null;
Segments.Clear();
Lights.Clear();
StartIndex = 0;
}
}
}