InformationSaveAndAudioCore_Over
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Stary.Evo.InformationSave
|
||||
{
|
||||
public static class LocalTransformInfoExtension
|
||||
{
|
||||
public static LocalTransformInfo.Information GetLocalTransformInformation(this Transform tf, string desc)
|
||||
{
|
||||
return tf.GetComponent<LocalTransformInfo>()._list.Find(n => n.desc == desc);
|
||||
}
|
||||
|
||||
public static void SetLocalTransformInfo(this Transform tf, string desc)
|
||||
{
|
||||
tf.GetComponent<LocalTransformInfo>().Set(desc);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user