Add AacFlEditClip.AnimatesObjectReference

This commit is contained in:
Haï~
2023-10-02 04:53:27 +02:00
parent ecc272ebac
commit 48b71e063a
2 changed files with 37 additions and 0 deletions
+6
View File
@@ -73,6 +73,12 @@ namespace AnimatorAsCode.V1
internal static string ResolveRelativePath(Transform avatar, Transform item)
{
if (avatar == item)
{
// TODO: Is this correct??
return "";
}
if (item.parent != avatar && item.parent != null)
{
return ResolveRelativePath(avatar, item.parent) + "/" + item.name;