Пример #1
0
        /// <summary>
        /// Initialize UBT in the context of another host process (presumably UAT)
        /// </summary>
        /// <param name="bIsEngineInstalled">Whether the engine is installed</param>
        /// <returns>True if initialization was successful</returns>
        public static bool Initialize(bool bIsEngineInstalled)
        {
            UnrealBuildTool.SetIsEngineInstalled(bIsEngineInstalled);

            // Read the XML configuration files
            if (!XmlConfig.ReadConfigFiles())
            {
                return(false);
            }

            // Register all the platform classes
            UnrealBuildTool.RegisterAllUBTClasses(SDKOutputLevel.Quiet, false);
            return(true);
        }