Skip to content

Commit bcfa0f1

Browse files
committed
fix: AssetRipper's MonoBehaviour assembly strings should also end with .dll
1 parent 0e94ba4 commit bcfa0f1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

TypeTreeGeneratorAPI/TypeTreeGenerator/AssetRipper/AssetRipper.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ public AssetRipperGenerator(string unityVersionString) : base(unityVersionString
5555
{
5656
if (type.IsClass && type.BaseType?.FullName == "UnityEngine.MonoBehaviour")
5757
{
58-
monoBehaviourDefinitions.Add((assembly.Name, type.FullName));
58+
// add .dll for consistency with other generators
59+
monoBehaviourDefinitions.Add(($"{assembly.Name}.dll", type.FullName));
5960
}
6061
}
6162
}

0 commit comments

Comments
 (0)