Files
plugin-library/Assets/02.InformationSave/RunTime/Extension/TrailRendererExtension.cs
2025-03-26 09:34:52 +08:00

12 lines
339 B
C#

using UnityEngine;
namespace Stary.Evo.InformationSave
{
public static class TrailRendererExtension
{
public static TrailRendererInfo.Information GetTrailRendererInformation(this Transform tf, string desc)
{
return tf.GetComponent<TrailRendererInfo>()._list.Find(n => n.desc == desc);
}
}
}