Beispiel #1
0
        private static ScriptCompilationResult CompilePlayerScriptsNative(ScriptCompilationSettings input, string outputFolder, bool editorScripts)
        {
            ScriptCompilationResult result;

            PlayerBuildInterface.CompilePlayerScriptsNative_Injected(ref input, outputFolder, editorScripts, out result);
            return(result);
        }
Beispiel #2
0
        internal static ScriptCompilationResult CompilePlayerScriptsInternal(ScriptCompilationSettings input, string outputFolder, bool editorScripts)
        {
            input.m_ResultTypeDB = new TypeDB();
            ScriptCompilationResult result = PlayerBuildInterface.CompilePlayerScriptsNative(input, outputFolder, editorScripts);

            result.m_TypeDB = ((result.m_Assemblies.Length == 0) ? null : input.m_ResultTypeDB);
            return(result);
        }
Beispiel #3
0
 public static ScriptCompilationResult CompilePlayerScripts(ScriptCompilationSettings input, string outputFolder)
 {
     return(PlayerBuildInterface.CompilePlayerScriptsInternal(input, outputFolder, false));
 }