12 lines
339 B
C#
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);
|
|
}
|
|
}
|
|
} |