This commit is contained in:
bd_ 2023-02-17 21:51:34 +09:00
parent d4639e2d70
commit 43ce10e45a
2 changed files with 7 additions and 3 deletions

View File

@ -37,6 +37,8 @@ using BuildReport = nadena.dev.modular_avatar.editor.ErrorReporting.BuildReport;
using Object = UnityEngine.Object;
[assembly: InternalsVisibleTo("Tests")]
[assembly: InternalsVisibleTo("net.fushizen.xdress")]
[assembly: InternalsVisibleTo("net.fushizen.xdress.editor")]
namespace nadena.dev.modular_avatar.core.editor
{
@ -52,7 +54,7 @@ namespace nadena.dev.modular_avatar.core.editor
/// </summary>
private static bool nowProcessing = false;
public delegate void AvatarProcessorCallback(GameObject obj);
internal delegate void AvatarProcessorCallback(GameObject obj, BuildContext context);
/// <summary>
/// This API is NOT stable. Do not use it yet.
@ -186,7 +188,7 @@ namespace nadena.dev.modular_avatar.core.editor
context.AnimationDatabase.Commit();
AfterProcessing?.Invoke(avatarGameObject);
AfterProcessing?.Invoke(avatarGameObject, context);
}
finally
{

View File

@ -2,3 +2,5 @@ using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("nadena.dev.modular-avatar.core.editor")]
[assembly: InternalsVisibleTo("Tests")]
[assembly: InternalsVisibleTo("net.fushizen.xdress")]
[assembly: InternalsVisibleTo("net.fushizen.xdress.editor")]