mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 18:55:06 +08:00
xdress
This commit is contained in:
parent
d4639e2d70
commit
43ce10e45a
@ -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
|
||||
{
|
||||
|
@ -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")]
|
Loading…
Reference in New Issue
Block a user