From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/Export/AssemblyInfo.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Runtime/Export/AssemblyInfo.cs (limited to 'Runtime/Export/AssemblyInfo.cs') diff --git a/Runtime/Export/AssemblyInfo.cs b/Runtime/Export/AssemblyInfo.cs new file mode 100644 index 0000000..4a16238 --- /dev/null +++ b/Runtime/Export/AssemblyInfo.cs @@ -0,0 +1,15 @@ +using System.Runtime.CompilerServices; + +//TODO: Think about if this is secure or not, and if we should be using UnityEditor's public key instead. +//I think we're cool, because we ifdef it out in the version of UnityEngine.dll that we ship with the webplayer. +#if UNITY_EDITOR +[assembly: InternalsVisibleTo("UnityEditor")] +[assembly: InternalsVisibleTo("Unity.PureCSharpTests")] +[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] // for Moq +[assembly: InternalsVisibleTo("UnityEditor.Graphs")] +[assembly: InternalsVisibleTo("UnityEditor.Xbox360.Extensions")] +#endif + +#if UNITY_WINRT +[assembly: InternalsVisibleTo("WinRTBridge")] +#endif \ No newline at end of file -- cgit v1.1-26-g67d0