Пример #1
0
        internal static string GetExePath(string executableFileName)
        {
            var platform        = Application.platform;
            var deployDirectory = $"{IL2CPPUtils.GetIl2CppFolder()}/build/deploy";
            var il2cppPath      = $"{deployDirectory}/{executableFileName}{(platform == RuntimePlatform.WindowsEditor ? ".exe" : "")}";

            if (!File.Exists(il2cppPath))
            {
                il2cppPath = $"{deployDirectory}/{ExpectedTargetFrameworkDirectoryNameWhenUsingCustomBuild(platform)}/{BinaryDirectoryForPlatform(platform)}/{executableFileName}{(platform == RuntimePlatform.WindowsEditor ? ".exe" : "")}";
            }
            return(il2cppPath);
        }
Пример #2
0
 private string GetIl2CppCoreExe()
 {
     return(IL2CPPUtils.GetIl2CppFolder() + "/build/il2cppcore/il2cppcore.dll");
 }
Пример #3
0
 private string GetIl2CppExe()
 {
     return(IL2CPPUtils.GetIl2CppFolder() + "/build/il2cpp.exe");
 }
Пример #4
0
 private string GetIl2CppCoreExe()
 {
     return(IL2CPPUtils.GetIl2CppFolder() + "/build/deploy/netcoreapp3.0/il2cpp" + (Application.platform == RuntimePlatform.WindowsEditor ? ".exe" : ""));
 }
Пример #5
0
 private string GetIl2CppCoreExe()
 {
     return(IL2CPPUtils.GetIl2CppFolder() + "/build/deploy/netcoreapp2.1/publish/il2cppcore.dll");
 }