FiE-Game/Assets/TrailEffect/Effects/Trails/PCTrailRendererData.cs
2023-07-26 16:38:51 +05:00

41 lines
737 B
C#

using System;
using UnityEngine;
namespace PigeonCoopToolkit.Effects.Trails
{
[Serializable]
public class PCTrailRendererData
{
public Material TrailMaterial;
public float Lifetime = 1f;
public bool UsingSimpleSize;
public float SimpleSizeOverLifeStart;
public float SimpleSizeOverLifeEnd;
public AnimationCurve SizeOverLife = new AnimationCurve();
public bool UsingSimpleColor;
public Color SimpleColorOverLifeStart;
public Color SimpleColorOverLifeEnd;
public Gradient ColorOverLife;
public bool StretchSizeToFit;
public bool StretchColorToFit;
public float MaterialTileLength;
public bool UseForwardOverride;
public Vector3 ForwardOverride;
public bool ForwardOverrideRelative;
}
}