chore: make RuntimeUtil internal via InternalsVisibleTo

This commit is contained in:
anatawa12 2023-01-08 21:00:38 +09:00 committed by bd_
parent 76dfa2a6fc
commit 85676c5fbf
4 changed files with 9 additions and 7 deletions

2
Packages/.gitignore vendored
View File

@ -2,4 +2,4 @@
!com.vrchat.core.*/
com.vrchat.*/
!nadena.dev.*/
*.zip
*.zip

View File

@ -33,11 +33,7 @@ using System.Reflection;
namespace nadena.dev.modular_avatar.core
{
/**
* This class is public for the benefit of the Editor namespace classes, but is not a stable API and may change
* on patch releases.
*/
public static class RuntimeUtil
internal static class RuntimeUtil
{
// Initialized in Util
public static Action<Action> delayCall = (_) => { };
@ -156,4 +152,4 @@ namespace nadena.dev.modular_avatar.core
OnHierarchyChanged?.Invoke();
}
}
}
}

View File

@ -0,0 +1,3 @@
using System.Runtime.CompilerServices;
[assembly:InternalsVisibleTo("nadena.dev.modular-avatar.core.editor")]

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 3921b79c7fa94c058aefa7d765c11e99
timeCreated: 1673178956