Просмотр исходного кода

Interpreter增加一个App工程用来测试Interpreter加载,不用每次编译到unity中去测试

tanghai 4 лет назад
Родитель
Сommit
0985180d5f

+ 1 - 0
Libs/Interpreter/App/.gitignore

@@ -0,0 +1 @@
+/x64

+ 158 - 0
Libs/Interpreter/App/App.vcxproj

@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Debug|x64">
+      <Configuration>Debug</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|x64">
+      <Configuration>Release</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <VCProjectVersion>16.0</VCProjectVersion>
+    <Keyword>Win32Proj</Keyword>
+    <ProjectGuid>{6781b069-a20c-43a2-a83c-1f3d3f3e8cd8}</ProjectGuid>
+    <RootNamespace>App</RootNamespace>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <PlatformToolset>v142</PlatformToolset>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <PlatformToolset>v142</PlatformToolset>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <PlatformToolset>v142</PlatformToolset>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <PlatformToolset>v142</PlatformToolset>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Label="Shared">
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <LinkIncremental>true</LinkIncremental>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <LinkIncremental>false</LinkIncremental>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <LinkIncremental>true</LinkIncremental>
+    <IncludePath>$(SolutionDir)\include;$(SolutionDir);$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath>
+    <OutDir>$(SolutionDir)Bin\</OutDir>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <LinkIncremental>false</LinkIncremental>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <SDLCheck>true</SDLCheck>
+      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <ConformanceMode>true</ConformanceMode>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <SDLCheck>true</SDLCheck>
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <ConformanceMode>true</ConformanceMode>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <OptimizeReferences>true</OptimizeReferences>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <SDLCheck>true</SDLCheck>
+      <PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <ConformanceMode>true</ConformanceMode>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <SDLCheck>true</SDLCheck>
+      <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <ConformanceMode>true</ConformanceMode>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <OptimizeReferences>true</OptimizeReferences>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Interpreter\Interpreter.vcxproj">
+      <Project>{b8bd0219-aea8-4167-abd7-29d7628803d9}</Project>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="Main.h" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="Main.cpp" />
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>

+ 27 - 0
Libs/Interpreter/App/App.vcxproj.filters

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup>
+    <Filter Include="源文件">
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+      <Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+    </Filter>
+    <Filter Include="头文件">
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+      <Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
+    </Filter>
+    <Filter Include="资源文件">
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+    </Filter>
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="Main.h">
+      <Filter>头文件</Filter>
+    </ClInclude>
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="Main.cpp">
+      <Filter>源文件</Filter>
+    </ClCompile>
+  </ItemGroup>
+</Project>

+ 7 - 0
Libs/Interpreter/App/App.vcxproj.user

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <LocalDebuggerCommandArguments>. Test.dll</LocalDebuggerCommandArguments>
+    <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
+  </PropertyGroup>
+</Project>

+ 11 - 0
Libs/Interpreter/App/Main.cpp

@@ -0,0 +1,11 @@
+#include "Main.h"
+#include "Interpreter/Interpreter.h"
+#include <iostream>
+
+int main(int argc, char* argv[])
+{
+    interpreter_init(argv[1], argv[2]);
+    std::cout << "1111111111111111111" << std::endl;
+    char name[50];
+    std::cin >> name;
+}

+ 0 - 0
Libs/Interpreter/App/Main.h


+ 10 - 2
Libs/Interpreter/Interpreter.sln

@@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
 # Visual Studio Version 16
 VisualStudioVersion = 16.0.31702.278
 MinimumVisualStudioVersion = 10.0.40219.1
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Interpreter", "Interpreter.vcxproj", "{B8BD0219-AEA8-4167-ABD7-29D7628803D9}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Interpreter", "Interpreter\Interpreter.vcxproj", "{B8BD0219-AEA8-4167-ABD7-29D7628803D9}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "App", "App\App.vcxproj", "{6781B069-A20C-43A2-A83C-1F3D3F3E8CD8}"
 EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -16,11 +18,17 @@ Global
 		{B8BD0219-AEA8-4167-ABD7-29D7628803D9}.Debug|x64.ActiveCfg = Debug|x64
 		{B8BD0219-AEA8-4167-ABD7-29D7628803D9}.Debug|x64.Build.0 = Debug|x64
 		{B8BD0219-AEA8-4167-ABD7-29D7628803D9}.Debug|x86.ActiveCfg = Debug|Win32
-		{B8BD0219-AEA8-4167-ABD7-29D7628803D9}.Debug|x86.Build.0 = Debug|Win32
 		{B8BD0219-AEA8-4167-ABD7-29D7628803D9}.Release|x64.ActiveCfg = Release|x64
 		{B8BD0219-AEA8-4167-ABD7-29D7628803D9}.Release|x64.Build.0 = Release|x64
 		{B8BD0219-AEA8-4167-ABD7-29D7628803D9}.Release|x86.ActiveCfg = Release|Win32
 		{B8BD0219-AEA8-4167-ABD7-29D7628803D9}.Release|x86.Build.0 = Release|Win32
+		{6781B069-A20C-43A2-A83C-1F3D3F3E8CD8}.Debug|x64.ActiveCfg = Debug|x64
+		{6781B069-A20C-43A2-A83C-1F3D3F3E8CD8}.Debug|x64.Build.0 = Debug|x64
+		{6781B069-A20C-43A2-A83C-1F3D3F3E8CD8}.Debug|x86.ActiveCfg = Debug|Win32
+		{6781B069-A20C-43A2-A83C-1F3D3F3E8CD8}.Release|x64.ActiveCfg = Release|x64
+		{6781B069-A20C-43A2-A83C-1F3D3F3E8CD8}.Release|x64.Build.0 = Release|x64
+		{6781B069-A20C-43A2-A83C-1F3D3F3E8CD8}.Release|x86.ActiveCfg = Release|Win32
+		{6781B069-A20C-43A2-A83C-1F3D3F3E8CD8}.Release|x86.Build.0 = Release|Win32
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE

+ 1 - 0
Libs/Interpreter/Interpreter/.gitignore

@@ -0,0 +1 @@
+/x64

+ 60 - 0
Libs/Interpreter/Interpreter/Interpreter.cpp

@@ -0,0 +1,60 @@
+#include "Interpreter.h"
+#include <stdio.h>
+#include <stdarg.h>
+#include <string.h>
+#include <mono/jit/jit.h>
+#include <mono/metadata/environment.h>
+#include <mono/metadata/mono-config.h>
+#include <mono/utils/mono-publib.h>
+#include <mono/utils/mono-logger.h>
+#include <mono/metadata/assembly.h>
+#include <mono/metadata/mono-debug.h>
+#include <mono/metadata/exception.h>
+
+void(*log)(const char* buf, int len);
+
+void log_format(const char* fmt, ...)
+{
+    if (log == 0)
+    {
+        return;
+    }
+
+    char buffer[1024];
+    va_list argptr;
+    va_start(argptr, fmt);
+    int n = vsprintf_s(buffer, fmt, argptr);
+    va_end(argptr);
+    log(buffer, n);
+}
+
+void interpreter_set_log(void(*plog)(const char* buf, int len))
+{
+    log = plog;
+}
+
+void interpreter_log(const char* str)
+{
+    log_format("%s", str);
+}
+
+void interpreter_init(const char* bundleDir, const char* dllName)
+{
+    mono_config_parse(NULL);
+    mono_set_dirs(bundleDir, bundleDir);
+    log_format("1111111111111111111111 %s  %s %d", bundleDir, dllName, strlen(bundleDir));
+    char str[100];
+    memset(str, 0, 100);
+    sprintf_s(str, "%s/%s", bundleDir, dllName);
+    MonoDomain* monoDomain = mono_jit_init("aaaaa");
+    //MonoAssembly* assembly = mono_domain_assembly_open(monoDomain, dllName);
+    //MonoImage* monoImage = mono_assembly_get_image(assembly);
+    //MonoClass* entityClass = mono_class_from_name(monoImage, "ET", "TestEntry");
+    //MonoMethod* processMethod = mono_class_get_method_from_name(entityClass, "Test", 0);
+    //
+    //void* args[2];
+    //args[0] = new int(5);
+    //args[1] = new int(100);
+    //MonoObject* exception = NULL;
+    //MonoObject* result = mono_runtime_invoke(processMethod, nullptr, args, &exception);
+}

+ 2 - 0
Libs/Interpreter/main.h → Libs/Interpreter/Interpreter/Interpreter.h

@@ -10,6 +10,8 @@ extern "C" {
 #endif
     INTERPRETER_DLL void interpreter_set_log(void(*writelog)(const char* buf, int len));
 
+    INTERPRETER_DLL void interpreter_log(const char* str);
+
     INTERPRETER_DLL void interpreter_init(const char* bundleDir, const char* dllName);
 
 #ifdef __cplusplus

+ 5 - 5
Libs/Interpreter/Interpreter.vcxproj → Libs/Interpreter/Interpreter/Interpreter.vcxproj

@@ -19,10 +19,10 @@
     </ProjectConfiguration>
   </ItemGroup>
   <ItemGroup>
-    <ClInclude Include="main.h" />
+    <ClInclude Include="Interpreter.h" />
   </ItemGroup>
   <ItemGroup>
-    <ClCompile Include="main.cpp" />
+    <ClCompile Include="Interpreter.cpp" />
   </ItemGroup>
   <PropertyGroup Label="Globals">
     <VCProjectVersion>16.0</VCProjectVersion>
@@ -86,9 +86,9 @@
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
     <LinkIncremental>true</LinkIncremental>
-    <IncludePath>.\include;$(IncludePath)</IncludePath>
-    <LibraryPath>.\libs;$(LibraryPath)</LibraryPath>
-    <OutDir>$(SolutionDir)..\..\Unity\Assets\Plugins\x86_64\</OutDir>
+    <IncludePath>$(SolutionDir)\Include;$(SolutionDir);$(IncludePath)</IncludePath>
+    <LibraryPath>$(SolutionDir)\Libs;$(LibraryPath)</LibraryPath>
+    <OutDir>$(SolutionDir)Bin</OutDir>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
     <LinkIncremental>false</LinkIncremental>

+ 2 - 2
Libs/Interpreter/Interpreter.vcxproj.filters → Libs/Interpreter/Interpreter/Interpreter.vcxproj.filters

@@ -15,12 +15,12 @@
     </Filter>
   </ItemGroup>
   <ItemGroup>
-    <ClInclude Include="main.h">
+    <ClInclude Include="Interpreter.h">
       <Filter>头文件</Filter>
     </ClInclude>
   </ItemGroup>
   <ItemGroup>
-    <ClCompile Include="main.cpp">
+    <ClCompile Include="Interpreter.cpp">
       <Filter>源文件</Filter>
     </ClCompile>
   </ItemGroup>

+ 0 - 0
Libs/Interpreter/Interpreter.vcxproj.user → Libs/Interpreter/Interpreter/Interpreter.vcxproj.user


+ 0 - 39
Libs/Interpreter/main.cpp

@@ -1,39 +0,0 @@
-#include "main.h"
-#include <stdio.h>
-#include <stdarg.h>
-#include <mono\jit\jit.h>
-#include <mono/metadata/environment.h>
-#include <mono/utils/mono-publib.h>
-#include <mono/utils/mono-logger.h>
-#include <mono/metadata/assembly.h>
-#include <mono/metadata/mono-debug.h>
-#include <mono/metadata/exception.h>
-
-void(*log)(const char* buf, int len);
-
-void interpreter_log(const char* fmt, ...)
-{
-    if (log == 0)
-    {
-        return;
-    }
-
-    char buffer[1024];
-    va_list argptr;
-    va_start(argptr, fmt);
-    int n = vsprintf_s(buffer, fmt, argptr);
-    va_end(argptr);
-    log(buffer, n);
-}
-
-void interpreter_set_log(void(*plog)(const char* buf, int len))
-{
-    log = plog;
-}
-
-void interpreter_init(const char* bundleDir, const char* dllName)
-{
-    mono_set_dirs(bundleDir, bundleDir);
-    interpreter_log("1111111111111111111111 %s  %s", bundleDir, dllName);
-    //MonoDomain* domain = mono_jit_init(dllName);
-}

+ 8 - 0
Unity/Assets/ModelView/Demo/Entry.cs

@@ -5,6 +5,14 @@ using System.Threading;
 
 namespace ET
 {
+	public static class TestEntry
+	{
+		public static void Test()
+		{
+			UnityEngine.Debug.Log("111111111111111111111111111ffff TestEntry");
+		}
+	}
+	
 	public class Entry : IEntry
 	{
 		public void Start()

+ 14 - 6
Unity/Assets/Mono/Interpreter/Interpreter.cs

@@ -8,20 +8,28 @@ namespace ET
         private const string InterpreterDll = "Interpreter";
         
         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
-        public delegate void Log(IntPtr buf, int len);
+        public delegate void LogCallback(IntPtr buf, int len);
         
-        private static Log log;
+        private static LogCallback logCallback;
         
         [DllImport(InterpreterDll, CallingConvention = CallingConvention.Cdecl)]
-        private static extern void interpreter_set_log(Log log);
+        private static extern void interpreter_set_log(LogCallback logCallback);
+        
+        [DllImport(InterpreterDll, CallingConvention = CallingConvention.Cdecl)]
+        private static extern void interpreter_log([In][MarshalAs(UnmanagedType.LPStr)] string str);
         
         [DllImport(InterpreterDll, CallingConvention = CallingConvention.Cdecl)]
         private static extern void interpreter_init([In][MarshalAs(UnmanagedType.LPStr)] string reloadDir, [In][MarshalAs(UnmanagedType.LPStr)] string exeName);
 
-        public static void InterpreterSetLog(Log plog)
+        public static void InterpreterSetLog(LogCallback plog)
+        {
+            logCallback = plog;
+            interpreter_set_log(logCallback);
+        }
+        
+        public static void InterpreterLog(string str)
         {
-            log = plog;
-            interpreter_set_log(log);
+            interpreter_log(str);
         }
 
         public static void InterpreterInit([In][MarshalAs(UnmanagedType.LPStr)]string reloadDir, [In][MarshalAs(UnmanagedType.LPStr)]string exeName)

+ 1 - 1
Unity/Assets/Mono/MonoBehaviour/Init.cs

@@ -50,7 +50,7 @@ namespace ET
 					Marshal.Copy(buff, log, 0, n);
 					UnityEngine.Debug.Log(log.Utf8ToStr(0, n));
 				});
-				Interpreter.InterpreterInit("./Temp/Bin/Debug/", "Unity.Script.dll");
+				Interpreter.InterpreterInit(@"E:\ET\Unity\UnityScript\", "Unity.Script.dll");
 				
 				/*
 				UnityEngine.Debug.Log("unity script mode!");

Разница между файлами не показана из-за своего большого размера
+ 1 - 1
Unity/Unity.Script.csproj


Некоторые файлы не были показаны из-за большого количества измененных файлов