diff --git a/Megumin.UnityPackage/Packages/megumin.explosion4unity/Runtime/Scripts/UnityEngineExtensionMethod/Extension.cs b/Megumin.UnityPackage/Packages/megumin.explosion4unity/Runtime/Scripts/UnityEngineExtensionMethod/Extension.cs index 59c4386..0926943 100644 --- a/Megumin.UnityPackage/Packages/megumin.explosion4unity/Runtime/Scripts/UnityEngineExtensionMethod/Extension.cs +++ b/Megumin.UnityPackage/Packages/megumin.explosion4unity/Runtime/Scripts/UnityEngineExtensionMethod/Extension.cs @@ -230,7 +230,10 @@ private static void MacroTransform(Transform transform, ref string orignal) orignal = orignal.Replace("$(localPosition)", transform.localPosition.ToString()); orignal = orignal.Replace("$(localRotation)", transform.localRotation.ToString()); orignal = orignal.Replace("$(localEulerAngles)", transform.localEulerAngles.ToString()); - + + orignal = orignal.Replace("$(localScale)", transform.localScale.ToString()); + orignal = orignal.Replace("$(lossyScale)", transform.lossyScale.ToString()); + orignal = orignal.Replace("$(parent)", transform.parent?.name); }