using UnityEngine; namespace Stary.Evo.InformationSave { public static class TransformInfoExtension { public static TransformInfo.Information GetTransformInformation(this Transform tf, string desc) { return tf.GetComponent()._list.Find(n => n.desc == desc); } public static void SetTransformInfo(this Transform tf, string desc) { tf.GetComponent().Set(desc); } } }