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